Ejemplo n.º 1
0
void regdmn_set_regval(struct regulatory *reg)
{
	void *vos_context = vos_get_global_context(VOS_MODULE_ID_WDA, NULL);
	tp_wma_handle wma = vos_get_context(VOS_MODULE_ID_WDA, vos_context);
	u_int32_t modeSelect = 0xFFFFFFFF;

	if (!wma) {
		WMA_LOGE("%s: Unable to get WMA handle", __func__);
		return;
	}

	wma_get_modeselect(wma, &modeSelect);

	regdmn_get_ctl_info(reg, wma->reg_cap.wireless_modes, modeSelect);
	return;
}
Ejemplo n.º 2
0
static inline void wma_log_cmd_id(WMI_CMD_ID cmd_id)
{
	WMA_LOGE("Send WMI command:%s command_id:%d",
		 get_wmi_cmd_string(cmd_id), cmd_id);
}