Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [REQ] 802.11 Pushing Wireless Limits on the N900

    Reply
    Spyrocheti | # 1 | 2012-04-20, 09:36 | Report

    Hello,

    I would like to request the ability to freely change the regulatory domain variable to XX, much like the iw-reg-set-JP (ie BO, BZ)
    Also looking at upping the TxPower in accordance with the allowed values, from 20dbm to 30dbm.
    The Mod should be targeted at lxp's bleeding edge driver but it wouldn't hurt if it worked with the stock wl1251 as well.

    Possible/Impossible?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Spyrocheti For This Useful Post:
    Saturn

     
    Hurrian | # 2 | 2012-04-22, 03:04 | Report

    Originally Posted by Spyrocheti View Post
    Hello,

    I would like to request the ability to freely change the regulatory domain variable to XX, much like the iw-reg-set-JP (ie BO, BZ)
    Also looking at upping the TxPower in accordance with the allowed values, from 20dbm to 30dbm.
    The Mod should be targeted at lxp's bleeding edge driver but it wouldn't hurt if it worked with the stock wl1251 as well.

    Possible/Impossible?
    GOOGLE - It's the first damn result. http://www.knownokia.ca/2011/06/push...s-on-n900.html - REBUILD KERNEL POWER, WORKS ON STOCK WL1251

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Hurrian; 2012-04-22 at 03:07.

     
    Spyrocheti | # 3 | 2012-04-22, 05:28 | Report

    Originally Posted by Hurrian View Post
    GOOGLE - It's the first damn result. http://www.knownokia.ca/2011/06/push...s-on-n900.html - REBUILD KERNEL POWER, WORKS ON STOCK WL1251
    My question derives from that very same article, alas the title of the thread. So thanks for your input anyway. I am not confident enough and lack the proper knowledge to attempt the above hack on my own, thus the [req] part. My wish is to get someone that feels more comfortable in dealing with rebuilding the kernel, involved.

    I am aware I'm asking for the fish instead of learning how to fish. I am indeed highly interested and excited in getting the same result of the author of that article, on my n900. But don't get me wrong, the fact that I am at the beginning of my learning curve doesn't mean lack of effort on my part. In my mind is just much more appropriate to ask for a solution from someone able to easily provide it, instead of asking them to also pass on the knowledge on how to do it myself.

    Fond regards.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Spyrocheti; 2012-04-22 at 05:30.
    The Following 3 Users Say Thank You to Spyrocheti For This Useful Post:
    Estel, sifo, szopin

     
    Estel | # 4 | 2012-04-22, 10:48 | Report

    As for unlocking all 14 channels in full power (iw reg set JP), You only need package iw-tools installed (You probably have it already, if You use any thing related to aircrack-ng), and execution of such command every time after loading stock drivers (again, it's not needed for bleeding-edge drivers, aka lxp's ones).

    Here is example for advanced interface switcher - modified file /usr/bin/advifsw_wlan_on.sh
    [code]#!/bin/sh
    modprobe wl12xx
    wl1251-cal
    stop wlancond
    start wlancond
    ifconfig wlan0 up
    sleep 1
    iw reg set JP
    sleep 1[/b]

    So, as You can see, it consist only of adding command between two sleeps (required, to allow drivers to settle down, otherwise command may not be executed properly under some circumstances). To have full automation, You need to edit - in the same manner - every script, that is part of any program messing with loading/unloading drivers.

    To find location of such files, You can use dpkg -L <packagename> (it list location of files, placed during installation of provided package), or ask in program's thread on TMO.
    ---

    As for boosting power to 30 via custom kernel (module), I'm perfectly sure that it's only theoretical thing - driver's firmware also limit it for sure, and 1000 mW (1W!) is insanely impossible, unless someone want to fry egg on WLAN chip.

    Ho ever if it's possible to boost it by reasonable amount and if it would be feasible (I'm pretty sure, that too high power would create noise, maybe so much, that it would outweigh benefits of boosting), is to be determine by more knowledgeable ones than me.

    Maybe "little" boost - for example, 150 mW - could work well? It would be interesting, especially in tandem with external high-gain antenna, connected via hirose connector on our PCB.

    /Estel

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to Estel For This Useful Post:
    reinob, sifo, Spyrocheti, szopin

     
    Hurrian | # 5 | 2012-04-22, 12:54 | Report

    This is TMO, where you learn to tinker with your black brick. . All you need to do is aquire scratchbox, run apt-get source kernel-power, perform the modification of the file needed, and then dpkg-buildpackage -b -rfakeroot to punch out new kernel-power debs.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Spyrocheti | # 6 | 2012-04-22, 14:05 | Report

    @Estel
    Many thanks for taking the time, much appreciated.

    @Hurrian
    For some reason there's no "Thanks!" button. Downloading the SDK to try it out as we speak.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Estel | # 7 | 2012-04-23, 20:37 | Report

    Sorry Hurrian, but I don't see any reason why unlocking higher power in kernel should get us past wlan chipset firmware limitation. i got a strange feeling, that Your second post was just meant "mock a little" after 1st post being too aggressive. Of course, i don't want to start argue here, so i'll keep from commenting on this further.

    /Estel

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Estel For This Useful Post:
    handaxe

     
    Spyrocheti | # 8 | 2012-05-03, 05:36 | Report

    Ok, so after messing around with the SDK I managed to change the hardcoded values, patch the kernel, reflash it on the device,..well pretty much reproduce the results of the above article's author. All that with the standard driver loaded. Once I try loading bleeding edge it overrides everything and uses its own custom configuration. Tried to take a 'dive' into lxp's drivers but the waters got too deep too quickly :/ A couple days and countless headaches later I have for now given up on trying this on my own. Feels like trying to translate Ancient Egypt Hieroglyphs to me atm. Need to learn the language first

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Spyrocheti For This Useful Post:
    Estel, reinob, Saturn

     
vBulletin® Version 3.8.8
Normal Logout