Lines Matching refs:vap_caps

718 	struct rsi_vap_caps *vap_caps;  in rsi_set_vap_capabilities()  local
734 vap_caps = (struct rsi_vap_caps *)skb->data; in rsi_set_vap_capabilities()
736 rsi_set_len_qno(&vap_caps->desc_dword0.len_qno, in rsi_set_vap_capabilities()
738 vap_caps->desc_dword0.frame_type = VAP_CAPABILITIES; in rsi_set_vap_capabilities()
739 vap_caps->status = vap_status; in rsi_set_vap_capabilities()
740 vap_caps->vif_type = mode; in rsi_set_vap_capabilities()
741 vap_caps->channel_bw = common->channel_width; in rsi_set_vap_capabilities()
742 vap_caps->vap_id = vap_id; in rsi_set_vap_capabilities()
743 vap_caps->radioid_macid = ((common->mac_id & 0xf) << 4) | in rsi_set_vap_capabilities()
746 memcpy(vap_caps->mac_addr, mac_addr, IEEE80211_ADDR_LEN); in rsi_set_vap_capabilities()
747 vap_caps->keep_alive_period = cpu_to_le16(90); in rsi_set_vap_capabilities()
748 vap_caps->frag_threshold = cpu_to_le16(IEEE80211_MAX_FRAG_THRESHOLD); in rsi_set_vap_capabilities()
750 vap_caps->rts_threshold = cpu_to_le16(common->rts_threshold); in rsi_set_vap_capabilities()
753 vap_caps->default_ctrl_rate = cpu_to_le16(RSI_RATE_6); in rsi_set_vap_capabilities()
754 vap_caps->default_mgmt_rate = cpu_to_le32(RSI_RATE_6); in rsi_set_vap_capabilities()
756 vap_caps->default_ctrl_rate = cpu_to_le16(RSI_RATE_1); in rsi_set_vap_capabilities()
757 vap_caps->default_mgmt_rate = cpu_to_le32(RSI_RATE_1); in rsi_set_vap_capabilities()
761 vap_caps->ctrl_rate_flags = in rsi_set_vap_capabilities()
764 vap_caps->ctrl_rate_flags = in rsi_set_vap_capabilities()
767 vap_caps->ctrl_rate_flags = in rsi_set_vap_capabilities()
771 vap_caps->default_data_rate = 0; in rsi_set_vap_capabilities()
772 vap_caps->beacon_interval = cpu_to_le16(common->beacon_interval); in rsi_set_vap_capabilities()
773 vap_caps->dtim_period = cpu_to_le16(common->dtim_cnt); in rsi_set_vap_capabilities()