qcacmn: Add MCL/SAP DCS process after AFC event update

When AFC event come and update 6 GHz SP channels' state and power
attribution, SAP which already started on 5 GHz or 6 GHz channel
can move in or out from SP channel, which has higher tx power limit.

SAP target channel/bandwidth is decided by ACS channel select callback
register to SAP module, which will take channel max tx power limit
into account.

After target channel/bandwidth determined, SAPs move to same target
channel/bandwidth with eCSA process. If violate any concurrency
limitation, AFC DCS process should abort.

Add AFC component id and reference id.

Change-Id: Iba6933a30c0957eabf549fd6c8442bed547e8152
CRs-Fixed: 3204172
Este commit está contenido en:
Will Huang
2022-05-10 16:34:50 +08:00
cometido por Madan Koyyalamudi
padre 051821c54f
commit dc9e47060f
Se han modificado 10 ficheros con 630 adiciones y 3 borrados

Ver fichero

@@ -291,6 +291,7 @@ typedef void (*wlan_objmgr_peer_status_handler)(
* @WLAN_COAP_ID: Constrained Application Protocol reference id
* @WLAN_SAWF_ID: Service Aware Wifi reference id
* @WLAN_QMI_ID: QMI component id
* @WLAN_AFC_ID: AFC reference id
* @WLAN_REF_ID_MAX: Max id used to generate ref count tracking array
*/
/* New value added to the enum must also be reflected in function
@@ -400,6 +401,7 @@ typedef enum {
WLAN_COAP_ID = 99,
WLAN_SAWF_ID = 100,
WLAN_QMI_ID = 101,
WLAN_AFC_ID = 102,
WLAN_REF_ID_MAX,
} wlan_objmgr_ref_dbgid;
@@ -513,7 +515,8 @@ static inline const char *string_from_dbgid(wlan_objmgr_ref_dbgid id)
"WLAN_DP_ID",
"WLAN_COAP_ID",
"WLAN_SAWF_ID",
"WLAN_QMI_ID"
"WLAN_QMI_ID",
"WLAN_AFC_ID"
};
if (id >= WLAN_REF_ID_MAX)