Lines Matching defs:basic_req
2481 struct mt76_connac_bss_basic_tlv *basic_req;
2487 tlv = mt76_connac_mcu_add_tlv(skb, UNI_BSS_INFO_BASIC, sizeof(*basic_req));
2488 basic_req = (struct mt76_connac_bss_basic_tlv *)tlv;
2492 basic_req->hw_bss_idx = idx;
2494 basic_req->phymode_ext = mt7925_get_phy_mode_ext(phy, vif, band,
2498 basic_req->nonht_basic_phy = cpu_to_le16(PHY_TYPE_ERP_INDEX);
2500 basic_req->nonht_basic_phy = cpu_to_le16(PHY_TYPE_OFDM_INDEX);
2502 memcpy(basic_req->bssid, link_conf->bssid, ETH_ALEN);
2503 basic_req->phymode = mt76_connac_get_phy_mode(phy, vif, band, link_sta);
2504 basic_req->bcn_interval = cpu_to_le16(link_conf->beacon_int);
2505 basic_req->dtim_period = link_conf->dtim_period;
2506 basic_req->bmc_tx_wlan_idx = cpu_to_le16(wlan_idx);
2507 basic_req->link_idx = mconf->mt76.idx;
2519 basic_req->sta_idx = cpu_to_le16(mlink->wcid.idx);
2520 basic_req->omac_idx = mconf->mt76.omac_idx;
2521 basic_req->band_idx = mconf->mt76.band_idx;
2522 basic_req->wmm_idx = mconf->mt76.wmm_idx;
2523 basic_req->conn_state = !enable;
2532 basic_req->conn_type = cpu_to_le32(conn_type);
2533 basic_req->active = enable;
2540 basic_req->conn_type = cpu_to_le32(conn_type);
2541 basic_req->active = true;
2544 basic_req->conn_type = cpu_to_le32(CONNECTION_IBSS_ADHOC);
2545 basic_req->active = true;
2800 } basic_req = {
2812 basic_req.hdr.bss_idx = mvif->idx;
2813 basic_req.basic.omac_idx = mvif->omac_idx;
2814 basic_req.basic.band_idx = mvif->band_idx;
2815 basic_req.basic.link_idx = mvif->link_idx;
2818 &basic_req, sizeof(basic_req), true);