diff options
author | Arik Nemtsov <arik@wizery.com> | 2014-09-11 06:00:19 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-11-11 00:12:01 -0500 |
commit | 6ce73e6569d45755483b44033b985abf29d5a4db (patch) | |
tree | 4dbee9513c7daf566ac599fb366c17b87df40000 /drivers/net/wireless/iwlwifi/mvm/mvm.h | |
parent | 7992074960a8bea6467cab3555b80a404ebd9b82 (diff) |
iwlwifi: mvm: expose some static APIs for use by TDLS code
Mostly functions related to building Tx-commands for sending to FW.
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mvm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h index 256765accbc6..1fc94e1db015 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mvm.h +++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h | |||
@@ -831,6 +831,16 @@ int __must_check iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u8 id, | |||
831 | int iwl_mvm_tx_skb(struct iwl_mvm *mvm, struct sk_buff *skb, | 831 | int iwl_mvm_tx_skb(struct iwl_mvm *mvm, struct sk_buff *skb, |
832 | struct ieee80211_sta *sta); | 832 | struct ieee80211_sta *sta); |
833 | int iwl_mvm_tx_skb_non_sta(struct iwl_mvm *mvm, struct sk_buff *skb); | 833 | int iwl_mvm_tx_skb_non_sta(struct iwl_mvm *mvm, struct sk_buff *skb); |
834 | void iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb, | ||
835 | struct iwl_tx_cmd *tx_cmd, | ||
836 | struct ieee80211_tx_info *info, u8 sta_id); | ||
837 | void iwl_mvm_set_tx_cmd_crypto(struct iwl_mvm *mvm, | ||
838 | struct ieee80211_tx_info *info, | ||
839 | struct iwl_tx_cmd *tx_cmd, | ||
840 | struct sk_buff *skb_frag); | ||
841 | void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm, struct iwl_tx_cmd *tx_cmd, | ||
842 | struct ieee80211_tx_info *info, | ||
843 | struct ieee80211_sta *sta, __le16 fc); | ||
834 | #ifdef CONFIG_IWLWIFI_DEBUG | 844 | #ifdef CONFIG_IWLWIFI_DEBUG |
835 | const char *iwl_mvm_get_tx_fail_reason(u32 status); | 845 | const char *iwl_mvm_get_tx_fail_reason(u32 status); |
836 | #else | 846 | #else |
@@ -900,6 +910,8 @@ void iwl_mvm_phy_ctxt_ref(struct iwl_mvm *mvm, | |||
900 | void iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm, | 910 | void iwl_mvm_phy_ctxt_unref(struct iwl_mvm *mvm, |
901 | struct iwl_mvm_phy_ctxt *ctxt); | 911 | struct iwl_mvm_phy_ctxt *ctxt); |
902 | int iwl_mvm_phy_ctx_count(struct iwl_mvm *mvm); | 912 | int iwl_mvm_phy_ctx_count(struct iwl_mvm *mvm); |
913 | u8 iwl_mvm_get_channel_width(struct cfg80211_chan_def *chandef); | ||
914 | u8 iwl_mvm_get_ctrl_pos(struct cfg80211_chan_def *chandef); | ||
903 | 915 | ||
904 | /* MAC (virtual interface) programming */ | 916 | /* MAC (virtual interface) programming */ |
905 | int iwl_mvm_mac_ctxt_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif); | 917 | int iwl_mvm_mac_ctxt_init(struct iwl_mvm *mvm, struct ieee80211_vif *vif); |