/* set the gain table index corresponding to a specific WiFi region  */
NMI_API sint8 m2m_wifi_set_gain_table_idx(uint8 u8GainTableIdx)
/* set the gain table index corresponding to a specific WiFi region  */
NMI_API sint8 m2m_wifi_set_gain_table_idx(uint8 u8GainTableIdx)
{
	sint8 ret = M2M_SUCCESS;
	tstrM2mWiFiGainIdx strM2mGainTableIdx;
	strM2mGainTableIdx.u8GainTableIdx = u8GainTableIdx;
	ret = hif_send(M2M_REQ_GROUP_WIFI, M2M_WIFI_REQ_SET_GAIN_TABLE_IDX, (uint8*)&strM2mGainTableIdx,sizeof(tstrM2mWiFiGainIdx), NULL, 0, 0);
	return ret;
}