mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-11-15 11:35:35 +00:00
33d9f8e4f3
Add initial MxM (multi-chip-multi-interface) wifi driver. The driver target is to support 88w8987/88w8997/88w9098, currently it only supports 88w8987. The MxM wifi driver is merged from below repo and applied some patches for block and build issues. ssh://git@bitbucket.sw.nxp.com/wcswrel/ rel-nxp-wifi-fp92-bt-fp85-linux-android-mxm4x17169-gpl.git The sdk only includes application, the driver already is merged into linux kernel. Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
30 lines
859 B
Bash
30 lines
859 B
Bash
#!/bin/bash
|
|
# iwpriv mlan0 drvdbg 0x20037
|
|
# change the mac address
|
|
./wifidirect/update_mac.sh
|
|
echo "wfd0 Mac address updated in config/wifidirect.conf"
|
|
|
|
|
|
./wifidirectutl wfd0 wifidirect_config config/wifidirect.conf
|
|
#ifdef STREAM_2X2
|
|
iwpriv wfd0 bssrole 1
|
|
#else
|
|
# iwpriv wfd0 bssrole 1
|
|
#endif
|
|
./uaputl.exe -i wfd0 sys_config config/uaputl_wifidirect.conf
|
|
#ifdef STREAM_2X2
|
|
iwpriv wfd0 bssrole 0
|
|
#else
|
|
# iwpriv wfd0 bssrole 0
|
|
#endif
|
|
# iwpriv wfd0 bssrole 1
|
|
# change the group owner parameters
|
|
# either in uaputl_wifidirect.conf or using CLI below
|
|
#./uaputl.exe -i wfd0 sys_cfg_wpa_passphrase 1234567890
|
|
#./uaputl.exe -i wfd0 sys_cfg_eapol_gwk_hsk 2000 3
|
|
#./uaputl.exe -i wfd0 sys_cfg_eapol_pwk_hsk 2000 3
|
|
# iwpriv wfd0 bssrole 0
|
|
./wifidirectutl wfd0 wifidirect_mode 1
|
|
iwpriv wfd0 bssrole 1
|
|
./wifidirectutl wfd0 wifidirect_mode 2
|
|
./uaputl.exe -i wfd0 bss_start
|