Lines Matching refs:req
436 wcn36xx_err("HAL TX failed for req %d\n", req_type);
441 wcn36xx_err("Timeout! No SMD response to req %d in %dms\n",
447 "SMD command (req %d, rsp %d) completed in %dms\n",
840 struct cfg80211_scan_request *req)
846 if (req->ie_len > WCN36XX_MAX_SCAN_IE_LEN)
866 msg_body->num_ssid = min_t(u8, req->n_ssids, ARRAY_SIZE(msg_body->ssids));
868 msg_body->ssids[i].length = min_t(u8, req->ssids[i].ssid_len,
870 memcpy(msg_body->ssids[i].ssid, req->ssids[i].ssid,
874 msg_body->num_channel = min_t(u8, req->n_channels,
878 HW_VALUE_CHANNEL(req->channels[i]->hw_value);
883 if (req->ie_len > 0) {
884 msg_body->ie_len = req->ie_len;
885 msg_body->header.len += req->ie_len;
886 memcpy(msg_body->ie, req->ie, req->ie_len);
940 int wcn36xx_smd_update_channel_list(struct wcn36xx *wcn, struct cfg80211_scan_request *req)
951 msg_body->num_channel = min_t(u8, req->n_channels, ARRAY_SIZE(msg_body->channels));
957 param->mhz = req->channels[i]->center_freq;
958 param->band_center_freq1 = req->channels[i]->center_freq;
961 if (req->channels[i]->flags & IEEE80211_CHAN_NO_IR)
964 if (req->channels[i]->flags & IEEE80211_CHAN_RADAR)
967 if (req->channels[i]->band == NL80211_BAND_5GHZ) {
975 if (min_power > req->channels[i]->max_power)
976 min_power = req->channels[i]->max_power;
978 if (req->channels[i]->max_antenna_gain)
979 ant_gain = req->channels[i]->max_antenna_gain;
983 u32p_replace_bits(¶m->reg_info_1, req->channels[i]->max_power,
985 u32p_replace_bits(¶m->reg_info_1, req->channels[i]->max_reg_power,
1356 "hal join req bssid %pM self_sta_mac_addr %pM channel %d link_state %d\n",