Giter Site home page Giter Site logo

Comments (3)

kimocoder avatar kimocoder commented on August 22, 2024

Thanks for reporting, will have a look at it soon.

from rtl8812au.

jggithub2017 avatar jggithub2017 commented on August 22, 2024

With

                        case CHANNEL_WIDTH_80:
                                RTW_INFO("%s width 80\n", __func__);
                                width = NL80211_CHAN_WIDTH_80;
                                /*
                                if(offset==HAL_PRIME_CHNL_OFFSET_LOWER){
                                        RTW_INFO("OFFSET LOWER");
                                        center_freq = control_freq +30;
                                }else{
                                        RTW_INFO("OFFSET HIGHER");
                                        center_freq = control_freq -30;
                                }*/
                                offset = rtw_get_offset_by_ch(channel);
                                center_ch1 = rtw_get_center_ch(channel, CHANNEL_WIDTH_80, offset);
                                center_freq = ieee80211_channel_to_frequency(center_ch1, band);
                                break;

I get

# iw wlan1 info
Interface wlan1
	ifindex 21
	wdev 0x1200000001
	addr 00:c0:ca:96:23:d0
	type monitor
	wiphy 18
	channel 40 (5200 MHz), width: 80 MHz, center1: 5210 MHz
	txpower 18.00 dBm

and the debug message
[ 7631.421149] RTW: cfg80211_rtw_get_channel : channel 40 width 3 freq1 5210 freq2 0 center_freq 5200 offset 0

Don't know if this is helpful.

from rtl8812au.

cedricbambooza avatar cedricbambooza commented on August 22, 2024

pls consider closing the issue, when it's solved by now :)

from rtl8812au.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.