P2P(WFD)之RegClass *****************************TBD
三个Action Frame的IE会有带上RegClass的信息
Listen Channel element, Channel List element, Operation Channel element.
Negotiate Req/Conf 必须带Operation Channel element.
Negotiate Resp可带可不带Operation Channel element.
IF Go:
Invitation Req/Resp 必须带Operation Channel element.
If Client:
Invitation Req/Resp 可带可不带Operation Channel element.
RegClass是做什么用的
那些Frame会包含RegClass的信息
=========
When will vap->iv_des_mode be set?
1. 创建AP时,ApSetDefaultChan, extAP, P2PGo,WfdGo.
2. AP起来时,如果Default phymode set fail, will switch to a lower phymode.
2. OID, MpSetCurrentPhyId
3. For Device Port, when create,
=======
When vap->iv_des_chan[vap->iv_des_mode] = channel is set?
1.创建Port时,Port Create->Port11InitializePort->Ap11InitializeAp->ApSetDefaultChan
2.AP起来时,MpStartApRequest->Ap11StartAp->ApChannelSelect->wlan_set_channel