============================================================
Morse Micro <-> TaiXin IP Allocation Issue Summary
[ Current Situation ]
AP : Morse Micro MM8108-EKH05
STA : TaiXin AH Module
Symptom: Unable to obtain IP address (DHCP failure)
Cause : "Invalid group cipher (0)" -> Connection fails at WPA authentication stage
[ Problem Flow ]
TaiXin STA -> Scans for Morse Micro AP (SSID found)
|
v
Attempts WPA Authentication
|
v
Invalid group cipher (0) <-- Security spec mismatch
|
v
Association Timeout
|
v
Disconnect -> Retry Loop
|
v
Result: No IP address assigned (fails before DHCP stage)
[ Root Causes ]
TaiXin module is running in proprietary protocol mode (wnbsta)
Morse Micro AP supports only standard WPA2-PSK
Not compatible with TaiXin's proprietary PAIR mode
Failure to parse security specifications
TaiXin cannot parse the WPA2 security header from the Morse Micro AP
Result: group cipher = 0 (unrecognized)
Consequently, failure occurs at the Association stage
IP allocation (DHCP) happens only after successful Association
Therefore, this is NOT an IP issue, but a connection-stage issue
log data
"-------------------<CR><LF>
[1051276]LMAC STATUS:<CR><LF>
local: ce:4f:26:8f:aa:88 AID= 0 mode= 0(0/1:STA;2:AP)<CR><LF>
freq= 916.0 bw=1 bgr=-106 dc=0:0(5:44) <CR><LF>
chn: 908.0 916.0 924.0 <CR><LF>
bgr: -60 -60 -60 <CR><LF>
buf: free=65 tq=0 sq=0 <CR><LF>
irq: ac=42 bkn=0 bo(rts:frm)=0:0:0:0:42 to(rts:frm)=0:0 rx=52<CR><LF>
tx : cnt=42 dly=0:0ms est_rate=900kbps txp=0 fail=0 drop=0 <CR><LF>
rx : cnt=52 bus=0ms<CR><LF>
cca: st12= 0:0 mid1224= 0:0:0:0<CR><LF>
chip-temperature:36, vcc:3.37, vdd13b:1.35, vdd13c:1.34<CR><LF>
sta_list: no sta<CR><LF>
<CR><LF>
<ESC>[40;31m[1051550]ieee80211_sta_select_bss:24::by SSID find hgic_ah_test [50:2e:91:d2:c4:c9] at channel 2<CR><LF>
<ESC>[0m[1051559]vif1 state WPA_SCANNING -> WPA_AUTHENTICATING<CR><LF>
[1051569]Invalid group cipher (0).<CR><LF>
[1051570]vif1 state WPA_AUTHENTICATING -> WPA_ASSOCIATING<CR><LF>
<ESC>[40;31m[1052476]ieee80211_sta_assoc_timeout:53::connect to ap 50:2e:91:d2:c4:c9 timeout, disable it!<CR><LF>
<ESC>[0m[1052484]ieee80211_sta_disconnect LR= 0x20048df4. 50:2e:91:d2:c4:c9<CR><LF>
[1052490]lmac set GTK: cmd=1 addr=50:2e:91:d2:c4:c9 cipher= 0x0 flags= 0x0 keyidx= 0 keylen= 0<CR><LF>
[1052498]del_STA: addr=50:2e:91:d2:c4:c9<CR><LF>
[1052502]stamap=0x0<CR><LF>
[1052503]sleepmap=0x0<CR><LF>
[1052505]vif1 state WPA_ASSOCIATING -> WPA_DISCONNECTED<CR><LF>
[1052511]vif1 state WPA_DISCONNECTED -> WPA_AUTHENTICATING<CR><LF>
[1052516]vif1 state WPA_AUTHENTICATING -> WPA_SCANNING<CR><LF>
<CR><LF>
"