software/drivers/sd8887/src/wlan/mlan/mlan_11ac.c
/**
 *  @brief This function fills the VHT cap tlv out put format is CPU
 *
 *  @param priv         A pointer to mlan_private structure
 *  @param pvht_cap      A pointer to MrvlIETypes_HTCap_t structure
 *  @param bands        Band configuration
 *
 *  @return             N/A
 */
@brief This function fills the VHT cap tlv out put format is CPU
@param priv         A pointer to mlan_private structure
@param pvht_cap      A pointer to MrvlIETypes_HTCap_t structure
@param bands        Band configuration

@return             N/A
@brief This function fills the VHT cap tlv out put format is CPU @param priv A pointer to mlan_private structure @param pvht_cap A pointer to MrvlIETypes_HTCap_t structure @param bands Band configuration @return N / A
void
wlan_fill_vht_cap_ie(mlan_private *priv,
		     IEEEtypes_VHTCap_t *pvht_cap, t_u8 bands)
{
	ENTER();
	pvht_cap->ieee_hdr.element_id = VHT_CAPABILITY;
	pvht_cap->ieee_hdr.len = sizeof(VHT_capa_t);
	wlan_fill_cap_info(priv, &pvht_cap->vht_cap, bands);
	pvht_cap->vht_cap.mcs_sets.rx_mcs_map =
		GET_DEVRXMCSMAP(priv->usr_dot_11ac_mcs_support);
	pvht_cap->vht_cap.mcs_sets.rx_max_rate =
		wlan_convert_mcsmap_to_maxrate(priv, bands,
					       pvht_cap->vht_cap.mcs_sets.
					       rx_mcs_map);
	pvht_cap->vht_cap.mcs_sets.tx_mcs_map =
		GET_DEVTXMCSMAP(priv->usr_dot_11ac_mcs_support);
	pvht_cap->vht_cap.mcs_sets.tx_max_rate =
		wlan_convert_mcsmap_to_maxrate(priv, bands,
					       pvht_cap->vht_cap.mcs_sets.
					       tx_mcs_map);
	LEAVE();
	return;
}
void wlan_fill_vht_cap_ie ( mlan_private * priv , IEEEtypes_VHTCap_t * pvht_cap , t_u8 bands ) { ENTER ( ) ; pvht_cap -> ieee_hdr . element_id = VHT_CAPABILITY ; pvht_cap -> ieee_hdr . len = sizeof ( VHT_capa_t ) ; wlan_fill_cap_info ( priv , & pvht_cap -> vht_cap , bands ) ; pvht_cap -> vht_cap . mcs_sets . rx_mcs_map = GET_DEVRXMCSMAP ( priv -> usr_dot_11ac_mcs_support ) ; pvht_cap -> vht_cap . mcs_sets . rx_max_rate = wlan_convert_mcsmap_to_maxrate ( priv , bands , pvht_cap -> vht_cap . mcs_sets . rx_mcs_map ) ; pvht_cap -> vht_cap . mcs_sets . tx_mcs_map = GET_DEVTXMCSMAP ( priv -> usr_dot_11ac_mcs_support ) ; pvht_cap -> vht_cap . mcs_sets . tx_max_rate = wlan_convert_mcsmap_to_maxrate ( priv , bands , pvht_cap -> vht_cap . mcs_sets . tx_mcs_map ) ; LEAVE ( ) ; return ; }
@brief This function fills the VHT cap tlv out put format is CPU
  @param priv         A pointer to mlan_private structure
  @param pvht_cap      A pointer to MrvlIETypes_HTCap_t structure
  @param bands        Band configuration
@brief This function fills the VHT cap tlv out put format is CPU @param priv A pointer to mlan_private structure @param pvht_cap A pointer to MrvlIETypes_HTCap_t structure @param bands Band configuration
/* Fill VHT cap info */ /* rx MCS map */ /* rx highest rate */ /* tx MCS map */ /* tx highest rate */