wifi: iwlwifi: remove MVM prefix from scan API
These are not MVM specific. Signed-off-by: Daniel Gabay <daniel.gabay@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20240625194805.09f672318944.Idffeab6a4dfc12effebd1c50815ae5c540afca74@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
6adae0b081
commit
8a4475a15b
@ -443,10 +443,10 @@ struct iwl_periodic_scan_complete {
|
||||
/* UMAC Scan API */
|
||||
|
||||
/* The maximum of either of these cannot exceed 8, because we use an
|
||||
* 8-bit mask (see IWL_MVM_SCAN_MASK in mvm.h).
|
||||
* 8-bit mask (see enum iwl_scan_status).
|
||||
*/
|
||||
#define IWL_MVM_MAX_UMAC_SCANS 4
|
||||
#define IWL_MVM_MAX_LMAC_SCANS 1
|
||||
#define IWL_MAX_UMAC_SCANS 4
|
||||
#define IWL_MAX_LMAC_SCANS 1
|
||||
|
||||
enum scan_config_flags {
|
||||
SCAN_CONFIG_FLAG_ACTIVATE = BIT(0),
|
||||
|
@ -591,13 +591,13 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm)
|
||||
hw->wiphy->max_scan_ssids = PROBE_OPTION_MAX;
|
||||
|
||||
BUILD_BUG_ON(IWL_MVM_SCAN_STOPPING_MASK & IWL_MVM_SCAN_MASK);
|
||||
BUILD_BUG_ON(IWL_MVM_MAX_UMAC_SCANS > HWEIGHT32(IWL_MVM_SCAN_MASK) ||
|
||||
IWL_MVM_MAX_LMAC_SCANS > HWEIGHT32(IWL_MVM_SCAN_MASK));
|
||||
BUILD_BUG_ON(IWL_MAX_UMAC_SCANS > HWEIGHT32(IWL_MVM_SCAN_MASK) ||
|
||||
IWL_MAX_LMAC_SCANS > HWEIGHT32(IWL_MVM_SCAN_MASK));
|
||||
|
||||
if (fw_has_capa(&mvm->fw->ucode_capa, IWL_UCODE_TLV_CAPA_UMAC_SCAN))
|
||||
mvm->max_scans = IWL_MVM_MAX_UMAC_SCANS;
|
||||
mvm->max_scans = IWL_MAX_UMAC_SCANS;
|
||||
else
|
||||
mvm->max_scans = IWL_MVM_MAX_LMAC_SCANS;
|
||||
mvm->max_scans = IWL_MAX_LMAC_SCANS;
|
||||
|
||||
if (mvm->nvm_data->bands[NL80211_BAND_2GHZ].n_channels)
|
||||
hw->wiphy->bands[NL80211_BAND_2GHZ] =
|
||||
|
@ -1071,7 +1071,7 @@ struct iwl_mvm {
|
||||
unsigned int max_scans;
|
||||
|
||||
/* UMAC scan tracking */
|
||||
u32 scan_uid_status[IWL_MVM_MAX_UMAC_SCANS];
|
||||
u32 scan_uid_status[IWL_MAX_UMAC_SCANS];
|
||||
|
||||
/* start time of last scan in TSF of the mac that requested the scan */
|
||||
u64 scan_start;
|
||||
|
Loading…
x
Reference in New Issue
Block a user