Home
last modified time | relevance | path

Searched refs:mvm (Results 1 – 25 of 25) sorted by relevance

/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c130 int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) in iwl_mvm_mac_setup_register() argument
132 struct ieee80211_hw *hw = mvm->hw; in iwl_mvm_mac_setup_register()
155 if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_MFP && in iwl_mvm_mac_setup_register()
181 memcpy(mvm->addresses[0].addr, mvm->nvm_data->hw_addr, ETH_ALEN); in iwl_mvm_mac_setup_register()
182 hw->wiphy->addresses = mvm->addresses; in iwl_mvm_mac_setup_register()
186 num_mac = (mvm->nvm_data->n_hw_addrs > 1) ? in iwl_mvm_mac_setup_register()
187 min(IWL_MVM_MAX_ADDRESSES, mvm->nvm_data->n_hw_addrs) : 1; in iwl_mvm_mac_setup_register()
190 memcpy(mvm->addresses[i].addr, mvm->addresses[i-1].addr, in iwl_mvm_mac_setup_register()
192 mvm->addresses[i].addr[5]++; in iwl_mvm_mac_setup_register()
198 mvm->fw->ucode_capa.max_probe_length - 24 - 34; in iwl_mvm_mac_setup_register()
[all …]
Dfw.c103 iwl_get_ucode_image(struct iwl_mvm *mvm, enum iwl_ucode_type ucode_type) in iwl_get_ucode_image() argument
108 return &mvm->fw->img[ucode_type]; in iwl_get_ucode_image()
111 static int iwl_send_tx_ant_cfg(struct iwl_mvm *mvm, u8 valid_tx_ant) in iwl_send_tx_ant_cfg() argument
117 IWL_DEBUG_FW(mvm, "select valid tx ant: %u\n", valid_tx_ant); in iwl_send_tx_ant_cfg()
118 return iwl_mvm_send_cmd_pdu(mvm, TX_ANT_CONFIGURATION_CMD, CMD_SYNC, in iwl_send_tx_ant_cfg()
125 struct iwl_mvm *mvm = in iwl_alive_fn() local
132 mvm->error_event_table = le32_to_cpu(palive->error_event_table_ptr); in iwl_alive_fn()
133 mvm->log_event_table = le32_to_cpu(palive->log_event_table_ptr); in iwl_alive_fn()
137 IWL_DEBUG_FW(mvm, in iwl_alive_fn()
160 static int iwl_mvm_load_ucode_wait_alive(struct iwl_mvm *mvm, in iwl_mvm_load_ucode_wait_alive() argument
[all …]
Dops.c142 struct iwl_mvm *mvm = IWL_OP_MODE_GET_MVM(op_mode); in iwl_mvm_nic_config() local
146 radio_cfg_type = (mvm->fw->phy_config & FW_PHY_CFG_RADIO_TYPE) >> in iwl_mvm_nic_config()
148 radio_cfg_step = (mvm->fw->phy_config & FW_PHY_CFG_RADIO_STEP) >> in iwl_mvm_nic_config()
150 radio_cfg_dash = (mvm->fw->phy_config & FW_PHY_CFG_RADIO_DASH) >> in iwl_mvm_nic_config()
154 reg_val |= CSR_HW_REV_STEP(mvm->trans->hw_rev) << in iwl_mvm_nic_config()
156 reg_val |= CSR_HW_REV_DASH(mvm->trans->hw_rev) << in iwl_mvm_nic_config()
170 iwl_trans_set_bits_mask(mvm->trans, CSR_HW_IF_CONFIG_REG, in iwl_mvm_nic_config()
180 IWL_DEBUG_INFO(mvm, "Radio type=0x%x-0x%x-0x%x\n", radio_cfg_type, in iwl_mvm_nic_config()
188 iwl_set_bits_mask_prph(mvm->trans, APMG_PS_CTRL_REG, in iwl_mvm_nic_config()
196 int (*fn)(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb,
[all …]
Dsta.c68 static int iwl_mvm_find_free_sta_id(struct iwl_mvm *mvm) in iwl_mvm_find_free_sta_id() argument
72 WARN_ON_ONCE(test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)); in iwl_mvm_find_free_sta_id()
74 lockdep_assert_held(&mvm->mutex); in iwl_mvm_find_free_sta_id()
78 if (!rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_find_free_sta_id()
79 lockdep_is_held(&mvm->mutex))) in iwl_mvm_find_free_sta_id()
85 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta, in iwl_mvm_sta_send_to_fw() argument
177 ret = iwl_mvm_send_cmd_pdu_status(mvm, ADD_STA, sizeof(add_sta_cmd), in iwl_mvm_sta_send_to_fw()
184 IWL_DEBUG_ASSOC(mvm, "ADD_STA PASSED\n"); in iwl_mvm_sta_send_to_fw()
188 IWL_ERR(mvm, "ADD_STA failed\n"); in iwl_mvm_sta_send_to_fw()
195 int iwl_mvm_add_sta(struct iwl_mvm *mvm, in iwl_mvm_add_sta() argument
[all …]
Dbt-coex.c115 int iwl_send_bt_prio_tbl(struct iwl_mvm *mvm) in iwl_send_bt_prio_tbl() argument
117 return iwl_mvm_send_cmd_pdu(mvm, BT_COEX_PRIO_TABLE, CMD_SYNC, in iwl_send_bt_prio_tbl()
122 static int iwl_send_bt_env(struct iwl_mvm *mvm, u8 action, u8 type) in iwl_send_bt_env() argument
129 ret = iwl_mvm_send_cmd_pdu(mvm, BT_COEX_PROT_ENV, CMD_SYNC, in iwl_send_bt_env()
132 IWL_ERR(mvm, "failed to send BT env command\n"); in iwl_send_bt_env()
205 int iwl_send_bt_init_conf(struct iwl_mvm *mvm) in iwl_send_bt_init_conf() argument
241 memset(&mvm->last_bt_notif, 0, sizeof(mvm->last_bt_notif)); in iwl_send_bt_init_conf()
244 ret = iwl_send_bt_env(mvm, BT_COEX_ENV_OPEN, in iwl_send_bt_init_conf()
249 ret = iwl_send_bt_env(mvm, BT_COEX_ENV_CLOSE, in iwl_send_bt_init_conf()
254 return iwl_mvm_send_cmd_pdu(mvm, BT_CONFIG, CMD_SYNC, in iwl_send_bt_init_conf()
[all …]
Dtime-event.c86 void iwl_mvm_te_clear_data(struct iwl_mvm *mvm, in iwl_mvm_te_clear_data() argument
89 lockdep_assert_held(&mvm->time_event_lock); in iwl_mvm_te_clear_data()
103 struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, roc_done_wk); in iwl_mvm_roc_done_wk() local
117 iwl_mvm_flush_tx_path(mvm, BIT(IWL_MVM_OFFCHANNEL_QUEUE), false); in iwl_mvm_roc_done_wk()
120 static void iwl_mvm_roc_finished(struct iwl_mvm *mvm) in iwl_mvm_roc_finished() argument
129 clear_bit(IWL_MVM_STATUS_ROC_RUNNING, &mvm->status); in iwl_mvm_roc_finished()
138 schedule_work(&mvm->roc_done_wk); in iwl_mvm_roc_finished()
148 static void iwl_mvm_te_handle_notif(struct iwl_mvm *mvm, in iwl_mvm_te_handle_notif() argument
152 lockdep_assert_held(&mvm->time_event_lock); in iwl_mvm_te_handle_notif()
154 IWL_DEBUG_TE(mvm, "Handle time event notif - UID = 0x%x action %d\n", in iwl_mvm_te_handle_notif()
[all …]
Dmvm.h369 int iwl_run_init_mvm_ucode(struct iwl_mvm *mvm, bool read_nvm);
375 void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm);
377 u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx);
380 int __must_check iwl_mvm_send_cmd(struct iwl_mvm *mvm,
382 int __must_check iwl_mvm_send_cmd_pdu(struct iwl_mvm *mvm, u8 id,
384 int __must_check iwl_mvm_send_cmd_status(struct iwl_mvm *mvm,
387 int __must_check iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u8 id,
390 int iwl_mvm_tx_skb(struct iwl_mvm *mvm, struct sk_buff *skb,
392 int iwl_mvm_tx_skb_non_sta(struct iwl_mvm *mvm, struct sk_buff *skb);
398 int iwl_mvm_flush_tx_path(struct iwl_mvm *mvm, u32 tfd_msk, bool sync);
[all …]
Dutils.c75 int iwl_mvm_send_cmd(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd) in iwl_mvm_send_cmd() argument
85 lockdep_assert_held(&mvm->mutex); in iwl_mvm_send_cmd()
87 ret = iwl_trans_send_cmd(mvm->trans, cmd); in iwl_mvm_send_cmd()
103 int iwl_mvm_send_cmd_pdu(struct iwl_mvm *mvm, u8 id, in iwl_mvm_send_cmd_pdu() argument
113 return iwl_mvm_send_cmd(mvm, &cmd); in iwl_mvm_send_cmd_pdu()
119 int iwl_mvm_send_cmd_status(struct iwl_mvm *mvm, struct iwl_host_cmd *cmd, in iwl_mvm_send_cmd_status() argument
126 lockdep_assert_held(&mvm->mutex); in iwl_mvm_send_cmd_status()
138 ret = iwl_trans_send_cmd(mvm->trans, cmd); in iwl_mvm_send_cmd_status()
177 int iwl_mvm_send_cmd_pdu_status(struct iwl_mvm *mvm, u8 id, u16 len, in iwl_mvm_send_cmd_pdu_status() argument
186 return iwl_mvm_send_cmd_status(mvm, &cmd, status); in iwl_mvm_send_cmd_pdu_status()
[all …]
Dled.c70 static void iwl_mvm_led_enable(struct iwl_mvm *mvm) in iwl_mvm_led_enable() argument
72 iwl_write32(mvm->trans, CSR_LED_REG, CSR_LED_REG_TURN_ON); in iwl_mvm_led_enable()
76 static void iwl_mvm_led_disable(struct iwl_mvm *mvm) in iwl_mvm_led_disable() argument
78 iwl_write32(mvm->trans, CSR_LED_REG, CSR_LED_REG_TURN_OFF); in iwl_mvm_led_disable()
84 struct iwl_mvm *mvm = container_of(led_cdev, struct iwl_mvm, led); in iwl_led_brightness_set() local
86 iwl_mvm_led_enable(mvm); in iwl_led_brightness_set()
88 iwl_mvm_led_disable(mvm); in iwl_led_brightness_set()
91 int iwl_mvm_leds_init(struct iwl_mvm *mvm) in iwl_mvm_leds_init() argument
102 IWL_INFO(mvm, "Led disabled\n"); in iwl_mvm_leds_init()
108 mvm->led.name = kasprintf(GFP_KERNEL, "%s-led", in iwl_mvm_leds_init()
[all …]
Ddebugfs.c68 struct iwl_mvm *mvm; member
76 struct iwl_mvm *mvm = file->private_data; in iwl_dbgfs_tx_flush_write() local
82 if (!mvm->ucode_loaded || mvm->cur_ucode != IWL_UCODE_REGULAR) in iwl_dbgfs_tx_flush_write()
93 IWL_ERR(mvm, "FLUSHING queues: scd_q_msk = 0x%x\n", scd_q_msk); in iwl_dbgfs_tx_flush_write()
95 mutex_lock(&mvm->mutex); in iwl_dbgfs_tx_flush_write()
96 ret = iwl_mvm_flush_tx_path(mvm, scd_q_msk, true) ? : count; in iwl_dbgfs_tx_flush_write()
97 mutex_unlock(&mvm->mutex); in iwl_dbgfs_tx_flush_write()
106 struct iwl_mvm *mvm = file->private_data; in iwl_dbgfs_sta_drain_write() local
112 if (!mvm->ucode_loaded || mvm->cur_ucode != IWL_UCODE_REGULAR) in iwl_dbgfs_sta_drain_write()
123 mutex_lock(&mvm->mutex); in iwl_dbgfs_sta_drain_write()
[all …]
Dmac-ctxt.c79 struct iwl_mvm *mvm; member
193 u32 iwl_mvm_mac_get_queues_mask(struct iwl_mvm *mvm, in iwl_mvm_mac_get_queues_mask() argument
211 static int iwl_mvm_mac_ctxt_allocate_resources(struct iwl_mvm *mvm, in iwl_mvm_mac_ctxt_allocate_resources() argument
216 .mvm = mvm, in iwl_mvm_mac_ctxt_allocate_resources()
253 mvm->hw, IEEE80211_IFACE_ITER_RESUME_ALL, in iwl_mvm_mac_ctxt_allocate_resources()
270 WARN_ON_ONCE(test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)); in iwl_mvm_mac_ctxt_allocate_resources()
275 IWL_ERR(mvm, "Failed to init MAC context - no free ID!\n"); in iwl_mvm_mac_ctxt_allocate_resources()
286 IWL_ERR(mvm, "Failed to init MAC context - no free TSF!\n"); in iwl_mvm_mac_ctxt_allocate_resources()
310 IWL_ERR(mvm, "Failed to allocate queue\n"); in iwl_mvm_mac_ctxt_allocate_resources()
325 IWL_ERR(mvm, "Failed to allocate cab queue\n"); in iwl_mvm_mac_ctxt_allocate_resources()
[all …]
Dscan.c74 static inline __le16 iwl_mvm_scan_rx_chain(struct iwl_mvm *mvm) in iwl_mvm_scan_rx_chain() argument
77 u8 rx_ant = iwl_fw_valid_rx_ant(mvm->fw); in iwl_mvm_scan_rx_chain()
112 iwl_mvm_scan_rate_n_flags(struct iwl_mvm *mvm, enum ieee80211_band band, in iwl_mvm_scan_rate_n_flags() argument
117 mvm->scan_last_antenna_idx = in iwl_mvm_scan_rate_n_flags()
118 iwl_mvm_next_antenna(mvm, iwl_fw_valid_tx_ant(mvm->fw), in iwl_mvm_scan_rate_n_flags()
119 mvm->scan_last_antenna_idx); in iwl_mvm_scan_rate_n_flags()
120 tx_ant = BIT(mvm->scan_last_antenna_idx) << RATE_MCS_ANT_POS; in iwl_mvm_scan_rate_n_flags()
260 int iwl_mvm_scan_request(struct iwl_mvm *mvm, in iwl_mvm_scan_request() argument
267 .data = { mvm->scan_cmd, }, in iwl_mvm_scan_request()
271 struct iwl_scan_cmd *cmd = mvm->scan_cmd; in iwl_mvm_scan_request()
[all …]
Dsta.h312 int iwl_mvm_sta_send_to_fw(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
314 int iwl_mvm_add_sta(struct iwl_mvm *mvm,
317 int iwl_mvm_update_sta(struct iwl_mvm *mvm,
320 int iwl_mvm_rm_sta(struct iwl_mvm *mvm,
323 int iwl_mvm_rm_sta_id(struct iwl_mvm *mvm,
326 int iwl_mvm_set_sta_key(struct iwl_mvm *mvm,
331 int iwl_mvm_remove_sta_key(struct iwl_mvm *mvm,
336 void iwl_mvm_update_tkip_key(struct iwl_mvm *mvm,
343 int iwl_mvm_sta_rx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
345 int iwl_mvm_sta_tx_agg_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
[all …]
Dd3.c77 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); in iwl_mvm_set_rekey_data() local
83 mutex_lock(&mvm->mutex); in iwl_mvm_set_rekey_data()
91 mutex_unlock(&mvm->mutex); in iwl_mvm_set_rekey_data()
145 struct iwl_mvm *mvm = IWL_MAC80211_GET_MVM(hw); in iwl_mvm_wowlan_program_keys() local
157 mutex_lock(&mvm->mutex); in iwl_mvm_wowlan_program_keys()
194 ret = iwl_mvm_send_cmd_pdu(mvm, WEP_KEY, CMD_SYNC, in iwl_mvm_wowlan_program_keys()
198 mvm->ptk_ivlen = key->iv_len; in iwl_mvm_wowlan_program_keys()
199 mvm->ptk_icvlen = key->icv_len; in iwl_mvm_wowlan_program_keys()
200 mvm->gtk_ivlen = key->iv_len; in iwl_mvm_wowlan_program_keys()
201 mvm->gtk_icvlen = key->icv_len; in iwl_mvm_wowlan_program_keys()
[all …]
Dnvm.c88 static int iwl_nvm_read_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_read_chunk() argument
105 ret = iwl_mvm_send_cmd(mvm, &cmd); in iwl_nvm_read_chunk()
111 IWL_ERR(mvm, "Bad return from NVM_ACCES_COMMAND (0x%08X)\n", in iwl_nvm_read_chunk()
124 IWL_ERR(mvm, in iwl_nvm_read_chunk()
126 ret, mvm->cfg->name); in iwl_nvm_read_chunk()
132 IWL_ERR(mvm, "NVM ACCESS response with invalid offset %d\n", in iwl_nvm_read_chunk()
157 static int iwl_nvm_read_section(struct iwl_mvm *mvm, u16 section, in iwl_nvm_read_section() argument
170 ret = iwl_nvm_read_chunk(mvm, section, offset, length, data); in iwl_nvm_read_section()
172 IWL_ERR(mvm, in iwl_nvm_read_section()
180 IWL_INFO(mvm, "NVM section %d read completed\n", section); in iwl_nvm_read_section()
[all …]
Dtx.c74 static void iwl_mvm_set_tx_cmd(struct iwl_mvm *mvm, struct sk_buff *skb, in iwl_mvm_set_tx_cmd() argument
133 if (ieee80211_is_data(fc) && len > mvm->rts_threshold && in iwl_mvm_set_tx_cmd()
149 static void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm, in iwl_mvm_set_tx_cmd_rate() argument
196 &mvm->nvm_data->bands[info->band], sta); in iwl_mvm_set_tx_cmd_rate()
208 mvm->mgmt_last_antenna_idx = in iwl_mvm_set_tx_cmd_rate()
209 iwl_mvm_next_antenna(mvm, iwl_fw_valid_tx_ant(mvm->fw), in iwl_mvm_set_tx_cmd_rate()
210 mvm->mgmt_last_antenna_idx); in iwl_mvm_set_tx_cmd_rate()
211 rate_flags = BIT(mvm->mgmt_last_antenna_idx) << RATE_MCS_ANT_POS; in iwl_mvm_set_tx_cmd_rate()
224 static void iwl_mvm_set_tx_cmd_crypto(struct iwl_mvm *mvm, in iwl_mvm_set_tx_cmd_crypto() argument
255 IWL_ERR(mvm, "Unknown encode cipher %x\n", keyconf->cipher); in iwl_mvm_set_tx_cmd_crypto()
[all …]
Dphy-ctxt.c140 static void iwl_mvm_phy_ctxt_cmd_data(struct iwl_mvm *mvm, in iwl_mvm_phy_ctxt_cmd_data() argument
159 cmd->rxchain_info = cpu_to_le32(iwl_fw_valid_rx_ant(mvm->fw) << in iwl_mvm_phy_ctxt_cmd_data()
165 cmd->txchain_info = cpu_to_le32(iwl_fw_valid_tx_ant(mvm->fw)); in iwl_mvm_phy_ctxt_cmd_data()
174 static int iwl_mvm_phy_ctxt_apply(struct iwl_mvm *mvm, in iwl_mvm_phy_ctxt_apply() argument
187 iwl_mvm_phy_ctxt_cmd_data(mvm, &cmd, chandef, in iwl_mvm_phy_ctxt_apply()
190 ret = iwl_mvm_send_cmd_pdu(mvm, PHY_CONTEXT_CMD, CMD_SYNC, in iwl_mvm_phy_ctxt_apply()
194 IWL_ERR(mvm, "PHY ctxt cmd error. ret=%d\n", ret); in iwl_mvm_phy_ctxt_apply()
216 int iwl_mvm_phy_ctxt_add(struct iwl_mvm *mvm, struct iwl_mvm_phy_ctxt *ctxt, in iwl_mvm_phy_ctxt_add() argument
228 if (ctxt != &mvm->phy_ctxt_roc) in iwl_mvm_phy_ctxt_add()
229 __set_bit(mvm->phy_ctxt_roc.id, data.used); in iwl_mvm_phy_ctxt_add()
[all …]
Drs.c154 static void rs_rate_scale_perform(struct iwl_mvm *mvm,
158 static void rs_fill_link_cmd(struct iwl_mvm *mvm,
346 static void rs_program_fix_rate(struct iwl_mvm *mvm, in rs_program_fix_rate() argument
354 IWL_DEBUG_RATE(mvm, "sta_id %d rate 0x%X\n", in rs_program_fix_rate()
395 static int rs_tl_turn_on_agg_for_tid(struct iwl_mvm *mvm, in rs_tl_turn_on_agg_for_tid() argument
405 IWL_DEBUG_HT(mvm, "Starting Tx agg: STA: %pM tid: %d\n", in rs_tl_turn_on_agg_for_tid()
414 IWL_ERR(mvm, "Fail start Tx agg on tid: %d\n", in rs_tl_turn_on_agg_for_tid()
419 IWL_DEBUG_HT(mvm, in rs_tl_turn_on_agg_for_tid()
426 static void rs_tl_turn_on_agg(struct iwl_mvm *mvm, u8 tid, in rs_tl_turn_on_agg() argument
431 rs_tl_turn_on_agg_for_tid(mvm, lq_data, tid, sta); in rs_tl_turn_on_agg()
[all …]
Drx.c73 int iwl_mvm_rx_rx_phy_cmd(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb, in iwl_mvm_rx_rx_phy_cmd() argument
78 memcpy(&mvm->last_phy_info, pkt->data, sizeof(mvm->last_phy_info)); in iwl_mvm_rx_rx_phy_cmd()
79 mvm->ampdu_ref++; in iwl_mvm_rx_rx_phy_cmd()
88 static void iwl_mvm_pass_packet_to_mac80211(struct iwl_mvm *mvm, in iwl_mvm_pass_packet_to_mac80211() argument
102 IWL_ERR(mvm, "alloc_skb failed\n"); in iwl_mvm_pass_packet_to_mac80211()
124 ieee80211_rx_ni(mvm->hw, skb); in iwl_mvm_pass_packet_to_mac80211()
131 static int iwl_mvm_calc_rssi(struct iwl_mvm *mvm, in iwl_mvm_calc_rssi() argument
166 IWL_DEBUG_STATS(mvm, "Rssi In A %d B %d Max %d AGCA %d AGCB %d\n", in iwl_mvm_calc_rssi()
181 static u32 iwl_mvm_set_mac80211_rx_flag(struct iwl_mvm *mvm, in iwl_mvm_set_mac80211_rx_flag() argument
203 IWL_DEBUG_WEP(mvm, "hw decrypted CCMP successfully\n"); in iwl_mvm_set_mac80211_rx_flag()
[all …]
Dpower.c78 static void iwl_mvm_power_log(struct iwl_mvm *mvm, in iwl_mvm_power_log() argument
81 IWL_DEBUG_POWER(mvm, in iwl_mvm_power_log()
85 IWL_DEBUG_POWER(mvm, "Keep alive = %u sec\n", cmd->keep_alive_seconds); in iwl_mvm_power_log()
88 IWL_DEBUG_POWER(mvm, "Rx timeout = %u usec\n", in iwl_mvm_power_log()
90 IWL_DEBUG_POWER(mvm, "Tx timeout = %u usec\n", in iwl_mvm_power_log()
92 IWL_DEBUG_POWER(mvm, "LP RX RSSI threshold = %u\n", in iwl_mvm_power_log()
97 void iwl_mvm_power_build_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, in iwl_mvm_power_build_cmd() argument
100 struct ieee80211_hw *hw = mvm->hw; in iwl_mvm_power_build_cmd()
152 int iwl_mvm_power_update_mode(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_power_update_mode() argument
159 iwl_mvm_power_build_cmd(mvm, vif, &cmd); in iwl_mvm_power_update_mode()
[all …]
Dbinding.c78 static int iwl_mvm_binding_cmd(struct iwl_mvm *mvm, u32 action, in iwl_mvm_binding_cmd() argument
101 ret = iwl_mvm_send_cmd_pdu_status(mvm, BINDING_CONTEXT_CMD, in iwl_mvm_binding_cmd()
104 IWL_ERR(mvm, "Failed to send binding (action:%d): %d\n", in iwl_mvm_binding_cmd()
110 IWL_ERR(mvm, "Binding command failed: %u\n", status); in iwl_mvm_binding_cmd()
137 static int iwl_mvm_binding_update(struct iwl_mvm *mvm, in iwl_mvm_binding_update() argument
149 lockdep_assert_held(&mvm->mutex); in iwl_mvm_binding_update()
151 ieee80211_iterate_active_interfaces_atomic(mvm->hw, in iwl_mvm_binding_update()
176 return iwl_mvm_binding_cmd(mvm, action, &data); in iwl_mvm_binding_update()
179 int iwl_mvm_binding_add_vif(struct iwl_mvm *mvm, struct ieee80211_vif *vif) in iwl_mvm_binding_add_vif() argument
186 return iwl_mvm_binding_update(mvm, vif, mvmvif->phy_ctxt, true); in iwl_mvm_binding_add_vif()
[all …]
Dtime-event.h134 void iwl_mvm_protect_session(struct iwl_mvm *mvm,
148 void iwl_mvm_stop_session_protection(struct iwl_mvm *mvm,
154 int iwl_mvm_rx_time_event_notif(struct iwl_mvm *mvm,
175 int iwl_mvm_start_p2p_roc(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
186 void iwl_mvm_stop_p2p_roc(struct iwl_mvm *mvm);
198 void iwl_mvm_remove_time_event(struct iwl_mvm *mvm,
210 void iwl_mvm_te_clear_data(struct iwl_mvm *mvm,
Dquota.c132 int iwl_mvm_update_quotas(struct iwl_mvm *mvm, struct ieee80211_vif *newvif) in iwl_mvm_update_quotas() argument
143 if (test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)) in iwl_mvm_update_quotas()
148 lockdep_assert_held(&mvm->mutex); in iwl_mvm_update_quotas()
153 mvm->hw, IEEE80211_IFACE_ITER_NORMAL, in iwl_mvm_update_quotas()
193 ret = iwl_mvm_send_cmd_pdu(mvm, TIME_QUOTA_CMD, CMD_SYNC, in iwl_mvm_update_quotas()
196 IWL_ERR(mvm, "Failed to send quota: %d\n", ret); in iwl_mvm_update_quotas()
Drs.h369 extern void iwl_mvm_rs_rate_init(struct iwl_mvm *mvm,
/drivers/net/wireless/iwlwifi/
DMakefile19 obj-$(CONFIG_IWLMVM) += mvm/