From: Jes Sorensen <[email protected]>

Define H2C command structure for setting the rate mask.

Signed-off-by: Jes Sorensen <[email protected]>
---
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h 
b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
index 687b9a9..37657fe 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;
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to