qcacld-3.0: Add support to use MLD addr for one link
If INI is enabled don't derive first link's MAC address and directly use MLD address in that place and derive next link addresses. Change-Id: I3c2b9f64df3f75799adf8718ee83d157f6dd9097 CRs-Fixed: 3584062
Cette révision appartient à :

révisé par
Rahul Choudhary

Parent
a20b139e1b
révision
ad3cf51017
@@ -690,6 +690,34 @@
|
||||
#define CFG_MLO_MAX_SIMULTANEOUS_LINKS_CFG
|
||||
#define CFG_MLO_PREFER_PERCENTAGE_CFG
|
||||
#endif
|
||||
|
||||
/*
|
||||
* <cfg>
|
||||
* mlo_same_link_mld_addr - Use one of the links address as same mld address
|
||||
* @Default: false
|
||||
*
|
||||
* This cfg is used to configure the one of link address as same mld address
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: STA
|
||||
*
|
||||
* Usage: Internal
|
||||
*
|
||||
*
|
||||
* </cfg>
|
||||
*/
|
||||
#define CFG_MLO_SAME_LINK_MLD_ADDR CFG_BOOL( \
|
||||
"mlo_same_link_mld_addr",\
|
||||
0, \
|
||||
"same address for mlo link/mld")
|
||||
|
||||
#ifdef WLAN_HDD_MULTI_VDEV_SINGLE_NDEV
|
||||
#define CFG_MLO_SAME_LINK_MLD_ADDR_CFG CFG(CFG_MLO_SAME_LINK_MLD_ADDR)
|
||||
#else
|
||||
#define CFG_MLO_SAME_LINK_MLD_ADDR_CFG
|
||||
#endif
|
||||
|
||||
#define CFG_STA_ALL \
|
||||
CFG(CFG_INFRA_STA_KEEP_ALIVE_PERIOD) \
|
||||
CFG(CFG_STA_BSS_MAX_IDLE_PERIOD) \
|
||||
@@ -714,6 +742,6 @@
|
||||
CFG_MLO_SUPPORT_LINK_NUM_CFG \
|
||||
CFG_MLO_MAX_SIMULTANEOUS_LINKS_CFG \
|
||||
CFG_MLO_SUPPORT_LINK_BAND_CFG \
|
||||
CFG_MLO_PREFER_PERCENTAGE_CFG
|
||||
|
||||
CFG_MLO_PREFER_PERCENTAGE_CFG \
|
||||
CFG_MLO_SAME_LINK_MLD_ADDR_CFG
|
||||
#endif /* CFG_MLME_STA_H__ */
|
||||
|
@@ -4138,6 +4138,14 @@ uint8_t wlan_mlme_get_sta_mlo_simultaneous_links(struct wlan_objmgr_psoc *psoc);
|
||||
*/
|
||||
QDF_STATUS wlan_mlme_set_sta_mlo_conn_band_bmp(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t value);
|
||||
|
||||
/**
|
||||
* wlan_mlme_get_sta_same_link_mld_addr() - check if mld/link use same address
|
||||
* @psoc: pointer to psoc object
|
||||
*
|
||||
* Return: bool to check if the mld/link use same mac address
|
||||
*/
|
||||
bool wlan_mlme_get_sta_same_link_mld_addr(struct wlan_objmgr_psoc *psoc);
|
||||
#else
|
||||
static inline QDF_STATUS
|
||||
wlan_mlme_set_user_set_link_num(struct wlan_objmgr_psoc *psoc,
|
||||
|
@@ -1791,6 +1791,7 @@ enum station_prefer_bw {
|
||||
* @usr_scan_probe_unicast_ra: User config unicast probe req in scan
|
||||
* @event_payload: Diagnostic event payload
|
||||
* @max_li_modulated_dtim_time_ms: Max modulated DTIM time in ms.
|
||||
* @mlo_same_link_mld_address: Use one of the links same as mld address
|
||||
* @user_set_link_num: save link num set by vendor command
|
||||
* @mlo_support_link_num: max number of links that sta mlo supports
|
||||
* @mlo_support_link_band: band bitmap that sta mlo supports
|
||||
@@ -1826,6 +1827,7 @@ struct wlan_mlme_sta_cfg {
|
||||
#endif
|
||||
uint16_t max_li_modulated_dtim_time_ms;
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
bool mlo_same_link_mld_address;
|
||||
uint8_t user_set_link_num;
|
||||
uint8_t mlo_support_link_num;
|
||||
uint8_t mlo_support_link_band;
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur