Skip to content
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.

Support for band and channel selection. #13

Closed
forlayo opened this issue Apr 17, 2017 · 3 comments
Closed

Support for band and channel selection. #13

forlayo opened this issue Apr 17, 2017 · 3 comments

Comments

@forlayo
Copy link

forlayo commented Apr 17, 2017

Please add support for band and channel selection, which can be done through reflection over wificonfiguration

/**
     * 2GHz band.
     * @hide
     */
    public static final int AP_BAND_2GHZ = 0;

    /**
     * 5GHz band.
     * @hide
     */
    public static final int AP_BAND_5GHZ = 1;

    /**
     * The band which AP resides on
     * 0-2G  1-5G
     * By default, 2G is chosen
     * @hide
     */
    public int apBand = AP_BAND_2GHZ;

    /**
     * The channel which AP resides on,currently, US only
     * 2G  1-11
     * 5G  36,40,44,48,149,153,157,161,165
     * 0 - find a random available channel according to the apBand
     * @hide
     */
    public int apChannel = 0;

Thanks :)

@mvdan
Copy link
Owner

mvdan commented Apr 17, 2017

Care to send a patch? I'll be happy to review.

@forlayo
Copy link
Author

forlayo commented Apr 17, 2017

@mvdan sure, I've just send you a pull request to add this

d67b497

@mvdan
Copy link
Owner

mvdan commented Jan 6, 2018

It's been almost a year and the posted PR was never finalised, so I'm going to close this as I have no intention to work on it myself.

@mvdan mvdan closed this as completed Jan 6, 2018
@mvdan mvdan removed the help wanted label Jan 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants