software/drivers/sd8887/src/wlan/mlinux/moal_cfgvendor.c
/**
 * @brief get the event id of the events array
 *
 * @param event     vendor event
 *
 * @return    index of events array
 */
@brief get the event id of the events array
@param event     vendor event

@return    index of events array
@brief get the event id of the events array @param event vendor event @return index of events array
int
woal_get_event_id(int event)
{
	int i = 0;
	for (i = 0; i < ARRAY_SIZE(vendor_events); i++) {
		if (vendor_events[i].subcmd == event)
			return i;
	}
	return event_max;
}
int woal_get_event_id ( int event ) { int i = 0 ; for ( i = 0 ; i < ARRAY_SIZE ( vendor_events ) ; i ++ ) { if ( vendor_events [ i ] . subcmd == event ) return i ; } return event_max ; }
@brief get the event id of the events array
 @param event     vendor event
@brief get the event id of the events array @param event vendor event