qcacld-3.0: Remove arp_ac_category INI item

The mechanism of overriding ARP frames with AC will not work since
firmware always defaults to BE. Since this overriding is not going to
be supported, remove the arp_ac_category INI and all areas that use it.

Change-Id: I8bff251ded5842f3d0c95bb916eb98a051696ae0
CRs-Fixed: 2555459
This commit is contained in:
Alan Chen
2019-11-06 13:17:43 -08:00
zatwierdzone przez nshrivas
rodzic d2175bc557
commit e900494f62
5 zmienionych plików z 0 dodań i 64 usunięć

Wyświetl plik

@@ -177,7 +177,6 @@ struct wlan_fwol_neighbor_report_cfg {
* @enable_rts_sifsbursting: Enable RTS SIFS Bursting
* @enable_sifs_burst: Enable SIFS burst
* @max_mpdus_inampdu: Max number of MPDUS
* @arp_ac_category: ARP AC category
* @enable_phy_reg_retention: Enable PHY reg retention
* @upper_brssi_thresh: Upper BRSSI threshold
* @lower_brssi_thresh: Lower BRSSI threshold
@@ -213,7 +212,6 @@ struct wlan_fwol_cfg {
bool enable_rts_sifsbursting;
uint8_t enable_sifs_burst;
uint8_t max_mpdus_inampdu;
uint32_t arp_ac_category;
uint8_t enable_phy_reg_retention;
uint16_t upper_brssi_thresh;
uint16_t lower_brssi_thresh;

Wyświetl plik

@@ -502,7 +502,6 @@ QDF_STATUS fwol_cfg_on_psoc_enable(struct wlan_objmgr_psoc *psoc)
cfg_get(psoc, CFG_SET_RTS_FOR_SIFS_BURSTING);
fwol_cfg->enable_sifs_burst = cfg_get(psoc, CFG_SET_SIFS_BURST);
fwol_cfg->max_mpdus_inampdu = cfg_get(psoc, CFG_MAX_MPDUS_IN_AMPDU);
fwol_cfg->arp_ac_category = cfg_get(psoc, CFG_ARP_AC_CATEGORY);
fwol_cfg->enable_phy_reg_retention = cfg_get(psoc, CFG_ENABLE_PHY_REG);
fwol_cfg->upper_brssi_thresh = cfg_get(psoc, CFG_UPPER_BRSSI_THRESH);
fwol_cfg->lower_brssi_thresh = cfg_get(psoc, CFG_LOWER_BRSSI_THRESH);

Wyświetl plik

@@ -118,35 +118,6 @@
CFG_VALUE_OR_DEFAULT, \
"This ini configure max mpdus in ampdu")
/*
* <ini>
* arp_ac_category - ARP access category
* @Min: 0
* @Max: 3
* @Default: 3
*
* Firmware by default categorizes ARP packets with VOICE TID.
* This ini shall be used to override the default configuration.
* Access category enums are referenced in qca-vendor.h
* QCA_WLAN_AC_BE = 0 (Best effort)
* QCA_WLAN_AC_BK = 1 (Background)
* QCA_WLAN_AC_VI = 2 (Video)
* QCA_WLAN_AC_VO = 3 (Voice)
*
* Related: none
*
* Usage: Internal/External
*
* </ini>
*/
#define CFG_ARP_AC_CATEGORY CFG_INI_INT( \
"arp_ac_category", \
0, \
3, \
3, \
CFG_VALUE_OR_DEFAULT, \
"Override the default ARP AC configuration")
/*
* <ini>
* gEnableFastPwrTransition - Configuration for fast power transition
@@ -740,7 +711,6 @@
CFG(CFG_SET_RTS_FOR_SIFS_BURSTING) \
CFG(CFG_SET_SIFS_BURST) \
CFG(CFG_MAX_MPDUS_IN_AMPDU) \
CFG(CFG_ARP_AC_CATEGORY) \
CFG(CFG_ENABLE_PHY_REG) \
CFG(CFG_UPPER_BRSSI_THRESH) \
CFG(CFG_LOWER_BRSSI_THRESH) \

Wyświetl plik

@@ -179,15 +179,6 @@ QDF_STATUS ucfg_get_enable_sifs_burst(struct wlan_objmgr_psoc *psoc,
QDF_STATUS ucfg_get_max_mpdus_inampdu(struct wlan_objmgr_psoc *psoc,
uint8_t *max_mpdus_inampdu);
/**
* ucfg_get_arp_ac_category() - Assigns the arp_ac_category value
* @psoc: pointer to the psoc object
*
* Return: QDF Status
*/
QDF_STATUS ucfg_get_arp_ac_category(struct wlan_objmgr_psoc *psoc,
uint32_t *arp_ac_category);
/**
* ucfg_get_enable_phy_reg_retention() - Assigns enable_phy_reg_retention value
* @psoc: pointer to the psoc object
@@ -640,13 +631,6 @@ ucfg_get_max_mpdus_inampdu(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_E_FAILURE;
}
static inline QDF_STATUS
ucfg_get_arp_ac_category(struct wlan_objmgr_psoc *psoc,
uint32_t *arp_ac_category)
{
return QDF_STATUS_E_FAILURE;
}
static inline QDF_STATUS
ucfg_get_enable_phy_reg_retention(struct wlan_objmgr_psoc *psoc,
uint8_t *enable_phy_reg_retention)

Wyświetl plik

@@ -331,21 +331,6 @@ QDF_STATUS ucfg_get_max_mpdus_inampdu(struct wlan_objmgr_psoc *psoc,
return QDF_STATUS_SUCCESS;
}
QDF_STATUS ucfg_get_arp_ac_category(struct wlan_objmgr_psoc *psoc,
uint32_t *arp_ac_category)
{
struct wlan_fwol_psoc_obj *fwol_obj;
fwol_obj = fwol_get_psoc_obj(psoc);
if (!fwol_obj) {
fwol_err("Failed to get FWOL obj");
return QDF_STATUS_E_FAILURE;
}
*arp_ac_category = fwol_obj->cfg.arp_ac_category;
return QDF_STATUS_SUCCESS;
}
QDF_STATUS ucfg_get_enable_phy_reg_retention(struct wlan_objmgr_psoc *psoc,
uint8_t *enable_phy_reg_retention)
{