mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2024-11-15 03:25: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>
54 lines
1.5 KiB
Text
54 lines
1.5 KiB
Text
# File : auto_tx.conf
|
|
|
|
######################### Auto-TX command ##################
|
|
auto_tx_get={
|
|
CmdCode=0x0082 # do NOT change this line
|
|
|
|
Action:2=0 # GET
|
|
}
|
|
|
|
auto_tx_unreg={
|
|
CmdCode=0x0082 # do NOT change this line
|
|
|
|
Action:2=1 # SET
|
|
}
|
|
|
|
nat_keep_alive={
|
|
CmdCode=0x0082 # do NOT change this line
|
|
|
|
Action:2=1 # SET
|
|
|
|
AutoTxTlvType:2=0x0118
|
|
AutoTxTlvLength:2={ # 58 = 6 + 52 (FrameLen)
|
|
Interval:2=2 # 1 - 3600 seconds
|
|
Priority:1=7 # Priority, ignored if non-WMM
|
|
Reserved:1=0
|
|
FrameLength:2={ # 52 = 6 (DA) + 6 (SA) + 2 + 38 (Length)
|
|
DestMacAddr:6='0x00,0x40,0xf4,0xbf,0x24,0xee'
|
|
SrcMacAddr:6='0x00,0x00,0x00,0x00,0x00,0x00'
|
|
Length:2='0x00,38' # 38 = 8 (SNAP hdr) + 29 (IP) + 1 (padding)
|
|
DSAP:1=0xaa # SNAP header
|
|
SSAP:1=0xaa
|
|
Ctrl:1=0x03
|
|
SNAP_OUI:3='0x00,0x00,0x00'
|
|
SNAP_PID:2='0x08,0x00' # IP Packet
|
|
IPv4:1=0x45
|
|
IP_TOS:1=0x00
|
|
IP_LEN:2='0x00,29' # IP hdr 20 + payload 9 = 29
|
|
IP_ID:2=0xefbe
|
|
IP_Flag_FragOffset:2=0x0000
|
|
IP_TTL:1=128
|
|
IP_Prot:1=17 # UDP protocol
|
|
IPhdr_cksum:2=0xc5f9 # may need re-calculation if changed
|
|
IPsrcAddr:4='192,168,0,201' # 192.168.0.201
|
|
IPdstAddr:4='192,168,0,1' # 192.168.0.1
|
|
UDPsrcPort:2='0x11,0x94' # 4500
|
|
UDPdstPort:2='0x11,0x94' # 4500
|
|
UDPlength:2='0x00,9' # UDP hdr 8 + payload 1 = 9
|
|
UDPcksum:2=0x985b # may need re-calculation if changed
|
|
UDPpayload:1=0xff
|
|
padding:1=0 # MAC Padding for 32bit alignment, set to 0
|
|
}
|
|
}
|
|
}
|
|
######################### Auto-TX command ##################
|