diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192ce/trx.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/trx.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.h b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.h index 803adcc80c96..0f1177137501 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.h +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.h | |||
@@ -532,9 +532,9 @@ | |||
532 | #define CLEAR_PCI_TX_DESC_CONTENT(__pdesc, _size) \ | 532 | #define CLEAR_PCI_TX_DESC_CONTENT(__pdesc, _size) \ |
533 | do { \ | 533 | do { \ |
534 | if (_size > TX_DESC_NEXT_DESC_OFFSET) \ | 534 | if (_size > TX_DESC_NEXT_DESC_OFFSET) \ |
535 | memset((void *)__pdesc, 0, TX_DESC_NEXT_DESC_OFFSET); \ | 535 | memset(__pdesc, 0, TX_DESC_NEXT_DESC_OFFSET); \ |
536 | else \ | 536 | else \ |
537 | memset((void *)__pdesc, 0, _size); \ | 537 | memset(__pdesc, 0, _size); \ |
538 | } while (0); | 538 | } while (0); |
539 | 539 | ||
540 | #define RX_HAL_IS_CCK_RATE(_pdesc)\ | 540 | #define RX_HAL_IS_CCK_RATE(_pdesc)\ |
@@ -724,17 +724,16 @@ struct rx_desc_92c { | |||
724 | void rtl92ce_tx_fill_desc(struct ieee80211_hw *hw, | 724 | void rtl92ce_tx_fill_desc(struct ieee80211_hw *hw, |
725 | struct ieee80211_hdr *hdr, | 725 | struct ieee80211_hdr *hdr, |
726 | u8 *pdesc, struct ieee80211_tx_info *info, | 726 | u8 *pdesc, struct ieee80211_tx_info *info, |
727 | struct sk_buff *skb, unsigned int qsel); | 727 | struct sk_buff *skb, u8 hw_queue, |
728 | struct rtl_tcb_desc *ptcb_desc); | ||
728 | bool rtl92ce_rx_query_desc(struct ieee80211_hw *hw, | 729 | bool rtl92ce_rx_query_desc(struct ieee80211_hw *hw, |
729 | struct rtl_stats *stats, | 730 | struct rtl_stats *stats, |
730 | struct ieee80211_rx_status *rx_status, | 731 | struct ieee80211_rx_status *rx_status, |
731 | u8 *pdesc, struct sk_buff *skb); | 732 | u8 *pdesc, struct sk_buff *skb); |
732 | void rtl92ce_set_desc(u8 *pdesc, bool istx, u8 desc_name, u8 *val); | 733 | void rtl92ce_set_desc(u8 *pdesc, bool istx, u8 desc_name, u8 *val); |
733 | u32 rtl92ce_get_desc(u8 *pdesc, bool istx, u8 desc_name); | 734 | u32 rtl92ce_get_desc(u8 *pdesc, bool istx, u8 desc_name); |
734 | void rtl92ce_tx_polling(struct ieee80211_hw *hw, unsigned int hw_queue); | 735 | void rtl92ce_tx_polling(struct ieee80211_hw *hw, u8 hw_queue); |
735 | void rtl92ce_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc, | 736 | void rtl92ce_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc, |
736 | bool b_firstseg, bool b_lastseg, | 737 | bool b_firstseg, bool b_lastseg, |
737 | struct sk_buff *skb); | 738 | struct sk_buff *skb); |
738 | bool _rtl92c_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb); | ||
739 | |||
740 | #endif | 739 | #endif |