software/drivers/sd8887/src/wlan/mlan/mlan_11ac.c
/**
 *  @brief This function gets the bitmap of nss which supports VHT mcs
 *
 *  @param mcs_map_set  VHT mcs map
 *
 *  @return             The bitmap of supported nss
 */
@brief This function gets the bitmap of nss which supports VHT mcs
@param mcs_map_set  VHT mcs map

@return             The bitmap of supported nss
@brief This function gets the bitmap of nss which supports VHT mcs @param mcs_map_set VHT mcs map @return The bitmap of supported nss
static t_u8
wlan_get_nss_vht_mcs(t_u16 mcs_map_set)
{
	t_u8 nss, nss_map = 0;
	for (nss = 1; nss <= 8; nss++) {
		if (GET_VHTNSSMCS(mcs_map_set, nss) != NO_NSS_SUPPORT)
			nss_map |= 1 << (nss - 1);
	}
	PRINTM(MCMND, "Supported nss bit map:0x%02x\n", nss_map);
	return nss_map;
}
static t_u8 wlan_get_nss_vht_mcs ( t_u16 mcs_map_set ) { t_u8 nss , nss_map = 0 ; for ( nss = 1 ; nss <= 8 ; nss ++ ) { if ( GET_VHTNSSMCS ( mcs_map_set , nss ) != NO_NSS_SUPPORT ) nss_map |= 1 << ( nss - 1 ) ; } PRINTM ( MCMND , " \n " , nss_map ) ; return nss_map ; }
@brief This function gets the bitmap of nss which supports VHT mcs
  @param mcs_map_set  VHT mcs map
@brief This function gets the bitmap of nss which supports VHT mcs @param mcs_map_set VHT mcs map