[iwm] Remove support for fw older than -17 and -22
* iwm(4) didn't use any of these definitions yet, anyway. Obtained from: dragonflybsd.git f95003b8f1f7382c8396a6d408e3072632afdd3d
This commit is contained in:
parent
d057daedda
commit
d17a5d1bce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319589
@ -3451,8 +3451,7 @@ iwm_update_sched(struct iwm_softc *sc, int qid, int idx, uint8_t sta_id,
|
||||
scd_bc_tbl = sc->sched_dma.vaddr;
|
||||
|
||||
len += 8; /* magic numbers came naturally from paris */
|
||||
if (sc->sc_capaflags & IWM_UCODE_TLV_FLAGS_DW_BC_TABLE)
|
||||
len = roundup(len, 4) / 4;
|
||||
len = roundup(len, 4) / 4;
|
||||
|
||||
w_val = htole16(sta_id << 12 | len);
|
||||
|
||||
|
@ -594,8 +594,6 @@ enum iwm_dtd_diode_reg {
|
||||
* @IWM_UCODE_TLV_FLAGS_NEWSCAN: new uCode scan behaviour on hidden SSID,
|
||||
* treats good CRC threshold as a boolean
|
||||
* @IWM_UCODE_TLV_FLAGS_MFP: This uCode image supports MFP (802.11w).
|
||||
* @IWM_UCODE_TLV_FLAGS_P2P: This uCode image supports P2P.
|
||||
* @IWM_UCODE_TLV_FLAGS_DW_BC_TABLE: The SCD byte count table is in DWORDS
|
||||
* @IWM_UCODE_TLV_FLAGS_UAPSD: This uCode image supports uAPSD
|
||||
* @IWM_UCODE_TLV_FLAGS_SHORT_BL: 16 entries of black list instead of 64 in scan
|
||||
* offload profile config command.
|
||||
@ -605,35 +603,24 @@ enum iwm_dtd_diode_reg {
|
||||
* from the probe request template.
|
||||
* @IWM_UCODE_TLV_FLAGS_NEW_NSOFFL_SMALL: new NS offload (small version)
|
||||
* @IWM_UCODE_TLV_FLAGS_NEW_NSOFFL_LARGE: new NS offload (large version)
|
||||
* @IWM_UCODE_TLV_FLAGS_P2P_PS: P2P client power save is supported (only on a
|
||||
* single bound interface).
|
||||
* @IWM_UCODE_TLV_FLAGS_UAPSD_SUPPORT: General support for uAPSD
|
||||
* @IWM_UCODE_TLV_FLAGS_EBS_SUPPORT: this uCode image supports EBS.
|
||||
* @IWM_UCODE_TLV_FLAGS_P2P_PS_UAPSD: P2P client supports uAPSD power save
|
||||
* @IWM_UCODE_TLV_FLAGS_BCAST_FILTERING: uCode supports broadcast filtering.
|
||||
* @IWM_UCODE_TLV_FLAGS_GO_UAPSD: AP/GO interfaces support uAPSD clients
|
||||
*
|
||||
*/
|
||||
enum iwm_ucode_tlv_flag {
|
||||
IWM_UCODE_TLV_FLAGS_PAN = (1 << 0),
|
||||
IWM_UCODE_TLV_FLAGS_NEWSCAN = (1 << 1),
|
||||
IWM_UCODE_TLV_FLAGS_MFP = (1 << 2),
|
||||
IWM_UCODE_TLV_FLAGS_P2P = (1 << 3),
|
||||
IWM_UCODE_TLV_FLAGS_DW_BC_TABLE = (1 << 4),
|
||||
IWM_UCODE_TLV_FLAGS_SHORT_BL = (1 << 7),
|
||||
IWM_UCODE_TLV_FLAGS_D3_6_IPV6_ADDRS = (1 << 10),
|
||||
IWM_UCODE_TLV_FLAGS_NO_BASIC_SSID = (1 << 12),
|
||||
IWM_UCODE_TLV_FLAGS_NEW_NSOFFL_SMALL = (1 << 15),
|
||||
IWM_UCODE_TLV_FLAGS_NEW_NSOFFL_LARGE = (1 << 16),
|
||||
IWM_UCODE_TLV_FLAGS_P2P_PS = (1 << 21),
|
||||
IWM_UCODE_TLV_FLAGS_BSS_P2P_PS_DCM = (1 << 22),
|
||||
IWM_UCODE_TLV_FLAGS_BSS_P2P_PS_SCM = (1 << 23),
|
||||
IWM_UCODE_TLV_FLAGS_UAPSD_SUPPORT = (1 << 24),
|
||||
IWM_UCODE_TLV_FLAGS_EBS_SUPPORT = (1 << 25),
|
||||
IWM_UCODE_TLV_FLAGS_P2P_PS_UAPSD = (1 << 26),
|
||||
IWM_UCODE_TLV_FLAGS_BCAST_FILTERING = (1 << 29),
|
||||
IWM_UCODE_TLV_FLAGS_GO_UAPSD = (1 << 30),
|
||||
IWM_UCODE_TLV_FLAGS_LTE_COEX = (1 << 31),
|
||||
};
|
||||
|
||||
#define IWM_UCODE_TLV_FLAG_BITS \
|
||||
@ -647,22 +634,14 @@ P2P_PS_SCM\31UAPSD_SUPPORT\32EBS\33P2P_PS_UAPSD\36BCAST_FILTERING\37GO_UAPSD\40L
|
||||
* @IWM_UCODE_TLV_API_FRAGMENTED_SCAN: This ucode supports active dwell time
|
||||
* longer than the passive one, which is essential for fragmented scan.
|
||||
* @IWM_UCODE_TLV_API_WIFI_MCC_UPDATE: ucode supports MCC updates with source.
|
||||
* @IWM_UCODE_TLV_API_WIDE_CMD_HDR: ucode supports wide command header
|
||||
* @IWM_UCODE_TLV_API_LQ_SS_PARAMS: Configure STBC/BFER via LQ CMD ss_params
|
||||
* @IWM_UCODE_TLV_API_EXT_SCAN_PRIORITY: scan APIs use 8-level priority
|
||||
* instead of 3.
|
||||
* @IWM_UCODE_TLV_API_TX_POWER_CHAIN: TX power API has larger command size
|
||||
* (command version 3) that supports per-chain limits
|
||||
*
|
||||
* @IWM_NUM_UCODE_TLV_API: number of bits used
|
||||
*/
|
||||
enum iwm_ucode_tlv_api {
|
||||
IWM_UCODE_TLV_API_FRAGMENTED_SCAN = 8,
|
||||
IWM_UCODE_TLV_API_WIFI_MCC_UPDATE = 9,
|
||||
IWM_UCODE_TLV_API_WIDE_CMD_HDR = 14,
|
||||
IWM_UCODE_TLV_API_LQ_SS_PARAMS = 18,
|
||||
IWM_UCODE_TLV_API_EXT_SCAN_PRIORITY = 24,
|
||||
IWM_UCODE_TLV_API_TX_POWER_CHAIN = 27,
|
||||
|
||||
IWM_NUM_UCODE_TLV_API = 32
|
||||
};
|
||||
@ -4144,7 +4123,6 @@ struct iwm_lq_cmd {
|
||||
* @IWM_TX_CMD_FLG_MH_PAD: driver inserted 2 byte padding after MAC header.
|
||||
* Should be set for 26/30 length MAC headers
|
||||
* @IWM_TX_CMD_FLG_RESP_TO_DRV: zero this if the response should go only to FW
|
||||
* @IWM_TX_CMD_FLG_CCMP_AGG: this frame uses CCMP for aggregation acceleration
|
||||
* @IWM_TX_CMD_FLG_TKIP_MIC_DONE: FW already performed TKIP MIC calculation
|
||||
* @IWM_TX_CMD_FLG_DUR: disable duration overwriting used in PS-Poll Assoc-id
|
||||
* @IWM_TX_CMD_FLG_FW_DROP: FW should mark frame to be dropped
|
||||
@ -4172,7 +4150,6 @@ enum iwm_tx_flags {
|
||||
IWM_TX_CMD_FLG_AGG_START = (1 << 19),
|
||||
IWM_TX_CMD_FLG_MH_PAD = (1 << 20),
|
||||
IWM_TX_CMD_FLG_RESP_TO_DRV = (1 << 21),
|
||||
IWM_TX_CMD_FLG_CCMP_AGG = (1 << 22),
|
||||
IWM_TX_CMD_FLG_TKIP_MIC_DONE = (1 << 23),
|
||||
IWM_TX_CMD_FLG_DUR = (1 << 25),
|
||||
IWM_TX_CMD_FLG_FW_DROP = (1 << 26),
|
||||
|
Loading…
Reference in New Issue
Block a user