WLAN PS3 Jupiter Driver

From PS3 Developer wiki
Jump to: navigation, search

Introduction[edit]

  • FreeBSD WLAN driver for PS3 Jupiter
  • Ported from PS3 Jupiter Linux driver

Building[edit]

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]

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]

  • 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]