projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
iwlwifi: mvm: support IWL_D0I3_MODE_ON_SUSPEND d0i3 mode
[cascardo/linux.git]
/
drivers
/
net
/
wireless
/
iwlwifi
/
mvm
/
phy-ctxt.c
diff --git
a/drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c
b/drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c
index
12283b5
..
540c36b
100644
(file)
--- a/
drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c
+++ b/
drivers/net/wireless/iwlwifi/mvm/phy-ctxt.c
@@
-68,7
+68,7
@@
#include "mvm.h"
/* Maps the driver specific channel width definition to the the fw values */
#include "mvm.h"
/* Maps the driver specific channel width definition to the the fw values */
-
static inline
u8 iwl_mvm_get_channel_width(struct cfg80211_chan_def *chandef)
+u8 iwl_mvm_get_channel_width(struct cfg80211_chan_def *chandef)
{
switch (chandef->width) {
case NL80211_CHAN_WIDTH_20_NOHT:
{
switch (chandef->width) {
case NL80211_CHAN_WIDTH_20_NOHT:
@@
-90,7
+90,7
@@
static inline u8 iwl_mvm_get_channel_width(struct cfg80211_chan_def *chandef)
* Maps the driver specific control channel position (relative to the center
* freq) definitions to the the fw values
*/
* Maps the driver specific control channel position (relative to the center
* freq) definitions to the the fw values
*/
-
static inline
u8 iwl_mvm_get_ctrl_pos(struct cfg80211_chan_def *chandef)
+u8 iwl_mvm_get_ctrl_pos(struct cfg80211_chan_def *chandef)
{
switch (chandef->chan->center_freq - chandef->center_freq1) {
case -70:
{
switch (chandef->chan->center_freq - chandef->center_freq1) {
case -70:
@@
-176,7
+176,7
@@
static void iwl_mvm_phy_ctxt_cmd_data(struct iwl_mvm *mvm,
cmd->rxchain_info |= cpu_to_le32(active_cnt <<
PHY_RX_CHAIN_MIMO_CNT_POS);
cmd->rxchain_info |= cpu_to_le32(active_cnt <<
PHY_RX_CHAIN_MIMO_CNT_POS);
- cmd->txchain_info = cpu_to_le32(
mvm->fw->valid_tx_ant
);
+ cmd->txchain_info = cpu_to_le32(
iwl_mvm_get_valid_tx_ant(mvm)
);
}
/*
}
/*