WLAN PS3 Jupiter Driver
Jump to navigation
Jump to search
Introduction[edit | edit source]
- FreeBSD WLAN driver for PS3 Jupiter
- Ported from PS3 Jupiter Linux driver
Building[edit | edit source]
- You have to patch your FreeBSD 9.1 kernel with patch 0530-ng_ubt-grab-only-bt-ifaces.patch. The patch was pushed upstream but for FreeBSD 9.1 it's already to late, on FreeBSD 9.2 you won't need the patch anymore.
- http://gitorious.ps3dev.net/ps3freebsd/kernel-patches
- http://gitorious.ps3dev.net/ps3freebsd/ps3jupiter
cd /usr/devel env MAKEOBJDIRPREFIX=/usr/obj/PS3 SYSDIR=/usr/devel/sys make TARGET=powerpc TARGET_ARCH=powerpc64 buildenv cd /home/glevand/ps3jupiter make -f Makefile.jpt ls -l jpt.ko make -f Makefile.if_jsta ls -l if_jsta.ko
Loading[edit | edit source]
sudo kldload ./jpt.ko dmesg ... jpt0: <Sony Bluetooth and Wireless LAN Composite Device, class 224/1, rev 2.00/20.12, addr 2> on usbus3 jpt0: device status: 0x2031 jpt0: MAC address: xx:xx:xx:xx:xx:xx jpt0: channel info: 1fff000000000000 jpt0: EURUS command 0x114f status=0x0006 jpt0: firmware version: JUPITER-TWO-FW-20.0.12.p0(Jan 19 2010 21:20:53) ...
Scanning[edit | edit source]
- You don't need any extra tools to use WLAN on FreeBSD (unlike on Linux).
- And unlike on Linux, FreeBSD has a clean IOCTL interface for WLAN NICs.
sudo kldload ./if_jsta.ko dmesg ... jsta0: <Sony Bluetooth and Wireless LAN Composite Device, class 224/1, rev 2.00/20.12, addr 2> on usbus3 jsta0: Ethernet address: xx:xx:xx:xx:xx:xx sudo ifconfig jsta0 up ifconfig jsta0 list chan Channel 1 : 2412 MHz 11g Channel 8 : 2447 MHz 11g Channel 2 : 2417 MHz 11g Channel 9 : 2452 MHz 11g Channel 3 : 2422 MHz 11g Channel 10 : 2457 MHz 11g Channel 4 : 2427 MHz 11g Channel 11 : 2462 MHz 11g Channel 5 : 2432 MHz 11g Channel 12 : 2467 MHz 11g Channel 6 : 2437 MHz 11g Channel 13 : 2472 MHz 11g Channel 7 : 2442 MHz 11g sudo ifconfig jsta0 scan SSID/MESH ID BSSID CHAN RATE S:N INT CAPS ... ...
Links[edit | edit source]
- http://fxr.watson.org/fxr/source/dev/an/if_an.c
- http://fxr.watson.org/fxr/source/net80211/_ieee80211.h
- http://fxr.watson.org/fxr/source/net80211/ieee80211_ioctl.h
- http://fxr.watson.org/fxr/source/net80211/ieee80211_ioctl.c
- http://fxr.watson.org/fxr/source/dev/usb/wlan/
|