[DTV00922135] p2p: multiple p2p ie support in probe resp
[Description]
Add multiple p2p ie support
Symptom:
When MT7668 act as GO, after 5th GC connected, 6th p2p devices can not
find MT7668
Root cause:
When upper layer call mgmt tx to request driver send probe response,
if it includes multiple p2p ie, driver only store the last one.
It is because that p2p ie is stored in wsc ie struct and which
is only one array for it.
Trace wpas_supplicant, when total p2p ie is over 251
(fragment length, 0xff - 4 byte OUI)
wpa_supplicant will divide it to multiple p2p ie
Modification:
1. refine vendor specific ie definition, 300 should be enough
2. refine structure for storing probe response p2p ie, assume max 4
multiple ie will append
3. add p2p ie operation functions
Change-Id: I67e1192764f2423da0c02aec892083beab70ad70
CR-Id: DTV00922135
Signed-off-by: guo-jie.wang <guo-jie.wang@mediatek.com>
Feature: p2p
Reviewed-on: http://gerrit.mediatek.inc:8080/1301185
CheckPatch: Check Patch <srv_checkpatch@mediatek.com>
Reviewed-by: George Kuo <george.kuo@mediatek.com>
Reviewed-by: Deren Wu <deren.wu@mediatek.com>
Build: srv_neptune_adm <srv_neptune_adm@mediatek.com>
Test: srv_neptune_adm <srv_neptune_adm@mediatek.com>
4 files changed