File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -369,10 +369,8 @@ int vnt_radio_power_off(struct vnt_private *priv)
369
369
switch (priv -> rf_type ) {
370
370
case RF_AL2230 :
371
371
case RF_AL2230S :
372
- case RF_AIROHA7230 :
373
372
case RF_VT3226 :
374
373
case RF_VT3226D0 :
375
- case RF_VT3342A0 :
376
374
ret = vnt_mac_reg_bits_off (priv , MAC_REG_SOFTPWRCTL ,
377
375
(SOFTPWRCTL_SWPE2 |
378
376
SOFTPWRCTL_SWPE3 ));
@@ -423,10 +421,8 @@ int vnt_radio_power_on(struct vnt_private *priv)
423
421
switch (priv -> rf_type ) {
424
422
case RF_AL2230 :
425
423
case RF_AL2230S :
426
- case RF_AIROHA7230 :
427
424
case RF_VT3226 :
428
425
case RF_VT3226D0 :
429
- case RF_VT3342A0 :
430
426
ret = vnt_mac_reg_bits_on (priv , MAC_REG_SOFTPWRCTL ,
431
427
(SOFTPWRCTL_SWPE2 |
432
428
SOFTPWRCTL_SWPE3 ));
@@ -445,9 +441,6 @@ int vnt_set_bss_mode(struct vnt_private *priv)
445
441
unsigned char bb_vga_0 = 0x1c ;
446
442
unsigned char bb_vga_2_3 = 0x00 ;
447
443
448
- if (priv -> rf_type == RF_AIROHA7230 && priv -> bb_type == BB_TYPE_11A )
449
- type = BB_TYPE_11G ;
450
-
451
444
ret = vnt_mac_set_bb_type (priv , type );
452
445
if (ret )
453
446
return ret ;
@@ -479,15 +472,6 @@ int vnt_set_bss_mode(struct vnt_private *priv)
479
472
if (ret )
480
473
return ret ;
481
474
482
- if (priv -> rf_type == RF_AIROHA7230 ) {
483
- priv -> bb_vga [0 ] = bb_vga_0 ;
484
-
485
- ret = vnt_control_out_u8 (priv , MESSAGE_REQUEST_BBREG ,
486
- 0xe7 , priv -> bb_vga [0 ]);
487
- if (ret )
488
- return ret ;
489
- }
490
-
491
475
priv -> bb_vga [2 ] = bb_vga_2_3 ;
492
476
priv -> bb_vga [3 ] = bb_vga_2_3 ;
493
477
You can’t perform that action at this time.
0 commit comments