@@ -83,7 +83,7 @@ static int build_wifi_beacon(unsigned short beacon_interval,
8383 memset (& bcn_frm [pos ], 0xff , 6 );
8484 pos += 6 ;
8585
86- if (nrf70_off_raw_tx_mac_addr_get (bssid )) {
86+ if (nrf_wifi_off_raw_tx_mac_addr_get (bssid )) {
8787 printf ("Failed to get MAC address\n" );
8888 return -1 ;
8989 }
@@ -163,7 +163,7 @@ int main(void)
163163 }
164164
165165 strncpy ((char * )country_code , "US" , NRF_WIFI_COUNTRY_CODE_LEN + 1 );
166- nrf70_off_raw_tx_init (mac_addr , country_code );
166+ nrf_wifi_off_raw_tx_init (mac_addr , country_code );
167167
168168 /* Build a beacon frame */
169169 len = build_wifi_beacon (CONFIG_BEACON_INTERVAL ,
@@ -198,12 +198,12 @@ int main(void)
198198 printf ("\tRate: %s\n" , rate [conf .rate ]);
199199 printf ("\tHE GI: %d\n" , conf .he_gi );
200200 printf ("\tHE LTF: %d\n" , conf .he_ltf );
201- nrf70_off_raw_tx_start (& conf );
201+ nrf_wifi_off_raw_tx_start (& conf );
202202
203203 k_sleep (K_SECONDS (30 ));
204204
205205 memset (& stats , 0 , sizeof (stats ));
206- nrf70_off_raw_tx_stats (& stats );
206+ nrf_wifi_off_raw_tx_stats (& stats );
207207 printf ("----- Statistics -----\n" );
208208 printf ("\tPacket sent: %u\n" , stats .off_raw_tx_pkt_sent );
209209
@@ -234,19 +234,19 @@ int main(void)
234234 printf ("\tRate: %s\n" , rate [conf .rate ]);
235235 printf ("\tHE GI: %d\n" , conf .he_gi );
236236 printf ("\tHE LTF: %d\n" , conf .he_ltf );
237- nrf70_off_raw_tx_conf_update (& conf );
237+ nrf_wifi_off_raw_tx_conf_update (& conf );
238238
239239 k_sleep (K_SECONDS (30 ));
240240
241- nrf70_off_raw_tx_stats (& stats );
241+ nrf_wifi_off_raw_tx_stats (& stats );
242242 printf ("----- Statistics -----\n" );
243243 printf ("\tPacket sent: %u\n" , stats .off_raw_tx_pkt_sent );
244244
245245 printf ("----- Stopping transmission -----\n" );
246- nrf70_off_raw_tx_stop ();
246+ nrf_wifi_off_raw_tx_stop ();
247247
248248 printf ("----- Deinitializing nRF70 -----\n" );
249- nrf70_off_raw_tx_deinit ();
249+ nrf_wifi_off_raw_tx_deinit ();
250250
251251 if (mac_addr ) {
252252 free (mac_addr );
0 commit comments