summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2016-02-29 23:05:37 +0100
committerKalle Valo <kvalo@codeaurora.org>2016-03-10 14:29:17 +0100
commit80b30b2af59af9400568af05b8b409e5a20da930 (patch)
tree03f9a46ff1718f5132f0ce5603a0a75c63bb723f /drivers/net/wireless
parentrtl8xxxu: Do not parse RX descriptor info for C2H packets (diff)
downloadlinux-80b30b2af59af9400568af05b8b409e5a20da930.tar.xz
linux-80b30b2af59af9400568af05b8b409e5a20da930.zip
rtl8xxxu: Define 8723b H2C ramask command structure
Define H2C command structure for setting the rate mask. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
index 687b9a938170..37657fee242a 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
@@ -893,7 +893,7 @@ enum h2c_cmd_8723b {
/*
* Dynamic Mechanism Class: 010
*/
- H2C_8723B_MACID_CFG = 0x40,
+ H2C_8723B_MACID_CFG_RAID = 0x40,
H2C_8723B_TXBF = 0x41,
H2C_8723B_RSSI_SETTING = 0x42,
H2C_8723B_AP_REQ_TXRPT = 0x43,
@@ -960,6 +960,15 @@ struct h2c_cmd {
u8 cmd;
u8 data1;
u8 data2;
+ u8 ramask1;
+ u8 ramask2;
+ u8 ramask3;
+ u8 ramask4;
+ } __packed b_macid_cfg;
+ struct {
+ u8 cmd;
+ u8 data1;
+ u8 data2;
u8 data3;
u8 data4;
u8 data5;