Commit a55bb94a authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville

ath9k_htc: Add a new WMI command to set a rate mask

This patch adds WMI_BITRATE_MASK_CMDID which can be
used by the set_bitrate_mask() handler.
Signed-off-by: default avatarSujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 155dcda6
...@@ -171,6 +171,13 @@ struct ath9k_htc_target_rate { ...@@ -171,6 +171,13 @@ struct ath9k_htc_target_rate {
struct ath9k_htc_rate rates; struct ath9k_htc_rate rates;
}; };
struct ath9k_htc_target_rate_mask {
u8 vif_index;
u8 band;
__be32 mask;
u16 pad;
} __packed;
struct ath9k_htc_target_int_stats { struct ath9k_htc_target_int_stats {
__be32 rx; __be32 rx;
__be32 rxorn; __be32 rxorn;
......
...@@ -79,6 +79,8 @@ static const char *wmi_cmd_to_name(enum wmi_cmd_id wmi_cmd) ...@@ -79,6 +79,8 @@ static const char *wmi_cmd_to_name(enum wmi_cmd_id wmi_cmd)
return "WMI_TX_STATS_CMDID"; return "WMI_TX_STATS_CMDID";
case WMI_RX_STATS_CMDID: case WMI_RX_STATS_CMDID:
return "WMI_RX_STATS_CMDID"; return "WMI_RX_STATS_CMDID";
case WMI_BITRATE_MASK_CMDID:
return "WMI_BITRATE_MASK_CMDID";
} }
return "Bogus"; return "Bogus";
......
...@@ -111,6 +111,7 @@ enum wmi_cmd_id { ...@@ -111,6 +111,7 @@ enum wmi_cmd_id {
WMI_INT_STATS_CMDID, WMI_INT_STATS_CMDID,
WMI_TX_STATS_CMDID, WMI_TX_STATS_CMDID,
WMI_RX_STATS_CMDID, WMI_RX_STATS_CMDID,
WMI_BITRATE_MASK_CMDID,
}; };
enum wmi_event_id { enum wmi_event_id {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment