Hi, @yao_feng
You can suggest customer to use bandcfg parameter to set/get infra/ad-hoc band. Please see below detailed info, it is convenient to change.
bandcfg
This command is used to set/get infra/ad-hoc band.
Note: This command is only available in disconnected state.
Usage:
mlanutl mlanX bandcfg [l] [m] [n]
where the parameters:
[l]: Infrastructure band
bit 0: B
bit 1: G
bit 2: A
bit 3: GN
bit 4: AN
bit 5: AC 2.4G
bit 6: AC 5G
bit 8: AX 2.4G
bit 9: AX 5G
[m]: Ad-hoc start band
bit 0: B
bit 1: G
bit 2: A
[n]: Ad-hoc start channel
Examples:
mlanutl mlan0 bandcfg : Get infra/ad-hoc band and ad-hoc
start channel configurations
mlanutl mlan0 bandcfg 1 : Set infra band to B only
mlanutl mlan0 bandcfg 3 2 6 : Set infra band to B/G, ad-hoc start band
to G and ad-hoc start channel to 6
Best regards,
Christine.