Code Monkey home page Code Monkey logo

Comments (5)

bit-pirate avatar bit-pirate commented on June 27, 2024

+1

There is so much output on dmesg that it makes it hard to monitor other parts of the system.

Suggest to add a compile flag to the Makefile to easily turn debugging on/off.

@meoow could you create a PR with your patch?

from rtl8812au.

gnab avatar gnab commented on June 27, 2024

Applied the patch. Please supply PR with compile flag if wanted.

from rtl8812au.

fkpwolf avatar fkpwolf commented on June 27, 2024

+1

from rtl8812au.

fkpwolf avatar fkpwolf commented on June 27, 2024

There are still lots of log like:

[ 4771.233608] RTL871X: nolinked power save leave
[ 4779.301044] RTL871X: nolinked power save enter

To close this log:

diff --git a/core/rtw_pwrctrl.c b/core/rtw_pwrctrl.c
index ab995d6..89ebf85 100644
--- a/core/rtw_pwrctrl.c
+++ b/core/rtw_pwrctrl.c
@@ -46,7 +46,7 @@ void ips_enter(_adapter * padapter)
        if(rf_off == pwrpriv->change_rfpwrstate )
        {       
                pwrpriv->bpower_saving = _TRUE;
-               DBG_871X_LEVEL(_drv_always_, "nolinked power save enter\n");
+               DBG_871X_LEVEL(_drv_debug_, "nolinked power save enter\n");
 
                if(pwrpriv->ips_mode == IPS_LEVEL_2)
                        pwrpriv->bkeepfwalive = _TRUE;
@@ -81,7 +81,7 @@ int ips_leave(_adapter * padapter)
                if ((result = rtw_ips_pwr_up(padapter)) == _SUCCESS) {
                        pwrpriv->rf_pwrstate = rf_on;
                }
-               DBG_871X_LEVEL(_drv_always_, "nolinked power save leave\n");
+               DBG_871X_LEVEL(_drv_debug_, "nolinked power save leave\n");
 
                if((_WEP40_ == psecuritypriv->dot11PrivacyAlgrthm) ||(_WEP104_ == psecuritypriv->dot11PrivacyAlgrthm))
                {

from rtl8812au.

ThomasCr avatar ThomasCr commented on June 27, 2024

is there a way, to tun debugging off on runtime or module loading?

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.