mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-16 00:35:33 +00:00
bd8827d169
The sdk release is from NXP offial web: https://www.nxp.com/products/wireless/wi-fi-plus-bluetooth/ 88w8997-wi-fi-dual-band-with-bluetooth-5-for-a-v-streaming-and-digital-tv:88W8997?tab=Design_Tools_Tab The release file is: PCIE-WLAN-UART-BT-8997-U16-X86-W16.68.10.p16-16.26.10.p16-C4X16640_V4-MGPL The sdk version is: W16.68.10.p16 Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
30 lines
901 B
Bash
Executable file
30 lines
901 B
Bash
Executable file
#!/bin/bash
|
|
# iwpriv wfd0 drvdbg 0x20037
|
|
#change the mac address
|
|
./wifidirect/update_mac.sh
|
|
echo "wfd0 Mac address updated in 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
|
|
./wifidirectutl wfd0 wifidirect_config config/wifidirect.conf
|
|
# change the passphrase
|
|
# either in uaputl_wifidirect.conf or using CLI below
|
|
#./uaputl.exe -i wfd0 sys_cfg_wpa_passphrase 1234567890
|
|
./wifidirectutl wfd0 wifidirect_mode 1
|
|
./wifidirectutl wfd0 wifidirect_params_config config/wifidirect.conf
|
|
./mlanconfig wfd0 hostcmd config/bg_scan_wifidirect.conf bgscfg
|
|
./wifidirectutl wfd0 wifidirect_mode 4
|
|
|
|
#enable wifi-display
|
|
./wifidirectutl wfd0 wifidisplay_mode 1
|
|
./wifidirectutl wfd0 wifidisplay_config config/wifidisplay.conf
|
|
|