software/drivers/sd8887/src/wlan/mlan/mlan_sta_event.c
/**
 *  @brief This function sends the OBSS scan parameters to the application
 *
 *  @param pmpriv     A pointer to mlan_private structure
 *
 *  @return           N/A
 */
@brief This function sends the OBSS scan parameters to the application
@param pmpriv     A pointer to mlan_private structure

@return           N/A
@brief This function sends the OBSS scan parameters to the application @param pmpriv A pointer to mlan_private structure @return N / A
t_void
wlan_2040_coex_event(pmlan_private pmpriv)
{
	t_u8 event_buf[100];
	mlan_event *pevent = (mlan_event *)event_buf;
	t_u8 ele_len;
	ENTER();
	if (pmpriv->curr_bss_params.bss_descriptor.poverlap_bss_scan_param &&
	    pmpriv->curr_bss_params.bss_descriptor.poverlap_bss_scan_param->
	    ieee_hdr.element_id == OVERLAPBSSSCANPARAM) {
		ele_len =
			pmpriv->curr_bss_params.bss_descriptor.
			poverlap_bss_scan_param->ieee_hdr.len;
		pevent->bss_index = pmpriv->bss_index;
		pevent->event_id = MLAN_EVENT_ID_DRV_OBSS_SCAN_PARAM;
		memcpy(pmpriv->adapter, (t_u8 *)pevent->event_buf,
		       (t_u8 *)&pmpriv->curr_bss_params.bss_descriptor.
		       poverlap_bss_scan_param->obss_scan_param, ele_len);
		pevent->event_len = ele_len;
		wlan_recv_event(pmpriv, MLAN_EVENT_ID_DRV_OBSS_SCAN_PARAM,
				pevent);
	}
	LEAVE();
}
t_void wlan_2040_coex_event ( pmlan_private pmpriv ) { t_u8 event_buf [ 100 ] ; mlan_event * pevent = ( mlan_event * ) event_buf ; t_u8 ele_len ; ENTER ( ) ; if ( pmpriv -> curr_bss_params . bss_descriptor . poverlap_bss_scan_param && pmpriv -> curr_bss_params . bss_descriptor . poverlap_bss_scan_param -> ieee_hdr . element_id == OVERLAPBSSSCANPARAM ) { ele_len = pmpriv -> curr_bss_params . bss_descriptor . poverlap_bss_scan_param -> ieee_hdr . len ; pevent -> bss_index = pmpriv -> bss_index ; pevent -> event_id = MLAN_EVENT_ID_DRV_OBSS_SCAN_PARAM ; memcpy ( pmpriv -> adapter , ( t_u8 * ) pevent -> event_buf , ( t_u8 * ) & pmpriv -> curr_bss_params . bss_descriptor . poverlap_bss_scan_param -> obss_scan_param , ele_len ) ; pevent -> event_len = ele_len ; wlan_recv_event ( pmpriv , MLAN_EVENT_ID_DRV_OBSS_SCAN_PARAM , pevent ) ; } LEAVE ( ) ; }
@brief This function sends the OBSS scan parameters to the application
  @param pmpriv     A pointer to mlan_private structure
@brief This function sends the OBSS scan parameters to the application @param pmpriv A pointer to mlan_private structure
/* Copy OBSS scan parameters */