[WCNCR00151917] softap: Change building assoc resp's extra IEs from CFG80211
[Description]
Change building extra IEs for assoc resp (Ex: WPS IE) from CFG80211.
1. CFG hook function: .start_ap & .change_beacon
Store the extra IEs for assoc resp in cfg80211_beacon_data struct.
2. p2pRoleFsmRunEventBeaconUpdate
Store WPS IE in extra IEs into struct of aucWSCIE.
3. rsnGenerateWSCIEForAssocRsp
Append the WPS IE for Assoc Resp depends on the struct of aucWSCIE.
Unit Test:
1. Hostapd with extra IEs setting: Assoc resp with WPS IE.
2. Hostapd without extra IEs setting: Assoc resp without WPS IE.
Change-Id: If053b762061164401bc7481467d999fcc1faa385
Feature: softap
Signed-off-by: Evelyn <evelyn.tsai@mediatek.com>
CR-Id: WCNCR00151917
8 files changed