func: static int brcmf_dev_pno_config(struct brcmf_if struct cfg80211_sched_scan_request *request) struct brcmf_pno_param_le pfn_param ; memset ( & pfn_param , 0 , sizeof ( pfn_param ) ); pfn_param . version = cpu_to_le32 ( BRCMF_PNO_VERSION ); pfn_param . flags = cpu_to_le16 ( 1 << BRCMF_PNO_ENABLE_ADAPTSCAN_BIT ); pfn_param . repeat = BRCMF_PNO_REPEAT; pfn_param . exp = BRCMF_PNO_FREQ_EXPO_MAX; pfn_param . scan_freq = cpu_to_le32 ( BRCMF_PNO_TIME ); err = brcmf_fil_iovar_data_set ( ifp , "pfn_set" , & pfn_param , sizeof ( pfn_param ) ); if ( err )  brcmf_err ( "pfn_set failed, err=%d\n" , err ); return err ; if ( err )  brcmf_err ( "pfn_macaddr failed, err=%d\n" , err ); return err ; 