wifi: iwlwifi: mvm: make some HW flags conditional
authorJohannes Berg <johannes.berg@intel.com>
Wed, 29 Mar 2023 07:05:07 +0000 (10:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 30 Mar 2023 10:08:36 +0000 (12:08 +0200)
commitef2b47b89514ae2a7090d4552bae9229c5c54ca8
tree07eb2ea31a97af2a1f4c5c8819e2ba2540d72215
parentbf976c814c864ec45fa32303e7080fc2e6efe4f2
wifi: iwlwifi: mvm: make some HW flags conditional

With newer MLD firmware API we no longer need beacon timing
information from the host, so disable TIMING_BEACON_ONLY.

If MLO is enabled (currently only for testing), then we must
not have DEAUTH_NEED_MGD_TX_PREP because mac80211 doesn't
support it yet, we'll have to fix that later.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230329100039.28ec631487bf.I6eb27c3d4c0289a5ec3682f573aae3424f45619f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c