diff options
author | Sergey Matyukevich | 2019-01-14 10:39:40 +0100 |
---|---|---|
committer | Kalle Valo | 2019-02-01 13:11:57 +0100 |
commit | 9fe504a1317250ab97275e6d0a6a9de39fb60b82 (patch) | |
tree | d68ff52fddf88842aff1daf17ab5a970ce7bf0c8 /drivers/net/wireless/quantenna/qtnfmac/qlink.h | |
parent | qtnfmac: add support for 4addr mode (diff) | |
download | kernel-qcow2-linux-9fe504a1317250ab97275e6d0a6a9de39fb60b82.tar.gz kernel-qcow2-linux-9fe504a1317250ab97275e6d0a6a9de39fb60b82.tar.xz kernel-qcow2-linux-9fe504a1317250ab97275e6d0a6a9de39fb60b82.zip |
qtnfmac: switch to 32bit values for RTS/FRAG thresholds
Host wireless stack uses u32 type for RTS/FRAG threshold values.
Switch to u32 in driver: pass u32 values to firmware and let
firmware properly adapt these values according to its
internal representation.
Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/quantenna/qtnfmac/qlink.h')
-rw-r--r-- | drivers/net/wireless/quantenna/qtnfmac/qlink.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/quantenna/qtnfmac/qlink.h b/drivers/net/wireless/quantenna/qtnfmac/qlink.h index a78cb9e05068..ace52e9d421d 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/qlink.h +++ b/drivers/net/wireless/quantenna/qtnfmac/qlink.h @@ -19,7 +19,7 @@ #include <linux/ieee80211.h> -#define QLINK_PROTO_VER 11 +#define QLINK_PROTO_VER 12 #define QLINK_MACID_RSVD 0xFF #define QLINK_VIFID_RSVD 0xFF @@ -1184,7 +1184,7 @@ struct qlink_iface_limit_record { struct qlink_tlv_frag_rts_thr { struct qlink_tlv_hdr hdr; - __le16 thr; + __le32 thr; } __packed; struct qlink_tlv_rlimit { |