RE: [PATCH] [v14] wireless: Initial driver submission for pureLiFi STA devices

2021-04-19 Thread Srinivasan Raju
> From: Srinivasan Raju > Sent: 26 February 2021 13:09 > This introduces the pureLiFi LiFi driver for LiFi-X, LiFi-XC > and LiFi-XL USB devices. > > This driver implementation has been based on the zd1211rw driver. > > Driver is based on 802.11 softMAC Architecture

[PATCH] [v14] wireless: Initial driver submission for pureLiFi STA devices

2021-02-26 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Signed-off-by: Srinivasan Raju --- v14: - Endianess comments addressed - Sparse checked and fixed warnings - Firmware files renamed to lowercase - All other review comments in v13 addressed v13: - Removed unused #defines v12

RE: [PATCH] [v13] wireless: Initial driver submission for pureLiFi STA devices

2021-02-24 Thread Srinivasan Raju
> Having the firmware files under plfxlc/ directory looks good to me. But I'm > not really a fan of upper case filenames, is there a reason for that? I would > prefer have all lowercase filenames. Thanks for your suggestions. We have renamed the firmware names to lower-case and will submit

RE: [PATCH] [v13] wireless: Initial driver submission for pureLiFi STA devices

2021-02-24 Thread Srinivasan Raju
> That wasn't my point. My point was that the kernel code trusts the validity > of the firmware image, in the sense of e.g. this piece: >> + no_of_files = *(u32 *)_packed->data[0]; > If the firmware file was corrupted (intentionally/maliciously or not), this > could now be say 0x.

Re: [PATCH] [v13] wireless: Initial driver submission for pureLiFi STA devices

2021-02-18 Thread Srinivasan Raju
u really doing CCK/OFDM in some (strange?) way? Yes, your understanding is correct, and we use OFDM. For now we will use the existing band definition. Thanks Srini From: Johannes Berg Sent: Friday, February 12, 2021 7:14 PM To: Srinivasan Raju Cc: Mostafa

Re: [PATCH] [v13] wireless: Initial driver submission for pureLiFi STA devices

2021-02-17 Thread Srinivasan Raju
> Ah, kbuild bot had already reported few issues: > https://patchwork.kernel.org/project/linux-wireless/patch/20210212115030.124490-1-srini.r...@purelifi.com/ > Please fix those and I recommend waiting few days in case the bot finds > more issues. After that you can submitt v14 fixing the

[PATCH] [v13] wireless: Initial driver submission for pureLiFi STA devices

2021-02-12 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Signed-off-by: Srinivasan Raju --- v13 - Removed unused #defines v12: - Removed sysfs, procfs related code - Addressed race condition bug - Used macros instead of magic numbers in firmware.c - Added copyright in all files v11, v10

Re: [PATCH] [v11] wireless: Initial driver submission for pureLiFi STA devices

2021-01-15 Thread Srinivasan Raju
> I haven't had time to do a throrough review yet, but I suggest fixing > the stuff I commented and submitting v12. I'll then do a new review with v12. Hi Kalle, We have submitted v12 of the driver for review. Thanks Srini

[PATCH] [PATCH] [v12] wireless: Initial driver submission for pureLiFi STA devices

2021-01-05 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Signed-off-by: Srinivasan Raju --- v12: - Removed sysfs, procfs related code - Addressed race condition bug - Used macros instead of magic numbers in firmware.c - Added copyright in all files v11, v10: - Addressed review comment

RE: [PATCH] [v11] wireless: Initial driver submission for pureLiFi STA devices

2020-12-20 Thread Srinivasan Raju
> I see lots of magic numbers in the driver like 2, 0x33 and 0x34 here. > Please convert the magic numbers to proper defines explaining the meaning. > And for vendor commands you could even use enum to group them better in .h > file somewhere. Hi Kalle, Thanks for reviewing the driver, We

[PATCH] [v11] wireless: Initial driver submission for pureLiFi STA devices

2020-12-08 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Signed-off-by: Srinivasan Raju --- v11, v10: - Addressed review comment on readability - Changed firmware names to match products and latest firmware v9: - Addressed review comments on style and content defects - Used kmemdup instead

[PATCH] [v10] wireless: Initial driver submission for pureLiFi STA devices

2020-12-07 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Signed-off-by: Srinivasan Raju --- v10: - Addressed review comment on readability - Changed firmware names to match products v9: - Addressed review comments on style and content defects - Used kmemdup instead of alloc and memcpy v7 , v8

Re: [PATCH] [v7] wireless: Initial driver submission for pureLiFi STA devices

2020-12-03 Thread Srinivasan Raju
> What will be the directory structure in linux-firmware? It should be > unique so that it's not possible to mix with other drivers. I have created the following directory structure, Please let me know if this is OK. LICENCE.purelifi_firmware | 29 +

[PATCH] [v9] wireless: Initial driver submission for pureLiFi STA devices

2020-12-02 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Signed-off-by: Srinivasan Raju --- v9: - Addressed review comments on style and content defects - Used kmemdup instead of alloc and memcpy v7 , v8: - Magic numbers removed and used IEEE80211 macors - usb.c is split into two files

Re: [PATCH] [v7] wireless: Initial driver submission for pureLiFi STA devices

2020-12-02 Thread Srinivasan Raju
From: Srinivasan Raju Sent: Thursday, November 26, 2020 10:31 AM To: Kalle Valo Cc: Mostafa Afgani; David S. Miller; Jakub Kicinski; Mauro Carvalho Chehab; Rob Herring; Lukas Bulwahn; open list; open list:NETWORKING DRIVERS (WIRELESS); open list:NETWORKING DRIVERS

[PATCH] [v8] wireless: Initial driver submission for pureLiFi STA devices

2020-12-02 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Signed-off-by: Srinivasan Raju --- v8: - Addressed review comments on style and content defects - Used kmemdup instead of alloc and memcpy v7: - Magic numbers removed and used IEEE80211 macors - usb.c is split into two files firmware.c

Re: [PATCH] [v7] wireless: Initial driver submission for pureLiFi STA devices

2020-11-25 Thread Srinivasan Raju
> I haven't had a chance to review this yet but we have some documentation for > new drivers: > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#new_driver > Is the firmware publically available? Thanks Kalle, We will make the firmware available in our website

Re: [PATCH] [v7] wireless: Initial driver submission for pureLiFi STA devices

2020-11-17 Thread Srinivasan Raju
> trivial notes and some style and content defects: > (I stopped reading after awhile) Thanks, I will address the comments. Regards Srini

[PATCH] [v7] wireless: Initial driver submission for pureLiFi STA devices

2020-11-16 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Signed-off-by: Srinivasan Raju Changes v6->v7: - Magic numbers removed and used IEEE80211 macors - usb.c is split into two files firmware.c and dbgfs.c - Other code style and timer function fixes (mod_timer) Changes v5->v6: - Code

Re: [PATCH] [v6] wireless: Initial driver submission for pureLiFi STA devices

2020-10-19 Thread Srinivasan Raju
> When you do, please start adding > changelog information below the > --- > line to your patches. > > It's quite a chore to figure out > what changed between revisions. Ok, will add version logs to future revisions. Thanks Srini

Re: [PATCH] [v6] wireless: Initial driver submission for pureLiFi STA devices

2020-10-19 Thread Srinivasan Raju
> Overall, there are many magic numbers without comments, this makes it hard to > understand the code. Using defines with proper naming helps and for 802.11 > stuff > can use ieee80211_*/IEEE80211_* should be used. Thanks for your comments Krishna, will work on them. Regards, Srini

[PATCH] [v6] wireless: Initial driver submission for pureLiFi STA devices

2020-10-19 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Reported-by: kernel test robot Signed-off-by: Srinivasan Raju --- MAINTAINERS|5 + drivers/net/wireless/Kconfig |1 + drivers/net/wireless/Makefile |1 + drivers/net/wireless

Re: [PATCH] [v5] wireless: Initial driver submission for pureLiFi STA devices

2020-10-19 Thread Srinivasan Raju
Mostly trivial comments: >> Ok Thanks, I will address them

[PATCH] [v5] wireless: Initial driver submission for pureLiFi STA devices

2020-10-18 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Reported-by: kernel test robot Signed-off-by: Srinivasan Raju --- MAINTAINERS|5 + drivers/net/wireless/Kconfig |1 + drivers/net/wireless/Makefile |1 + drivers/net/wireless

RE: [PATCH] [v4] wireless: Initial driver submission for pureLiFi STA devices

2020-10-16 Thread Srinivasan Raju
> Suggested neatening patch on top of this: Thanks for the neatening patch Joe, I will resubmit patch. Thanks Srini

[PATCH] [v4] wireless: Initial driver submission for pureLiFi STA devices

2020-10-16 Thread Srinivasan Raju
in ARM, x86 architectures and compiled in powerpc architecture. Reported-by: kernel test robot Signed-off-by: Srinivasan Raju --- MAINTAINERS|5 + drivers/net/wireless/Kconfig |1 + drivers/net/wireless/Makefile |1 + drivers/net/wireless

Re: [PATCH] [PATCH] [v3] wireless: Initial driver submission for pureLiFi STA devices

2020-10-16 Thread Srinivasan Raju
Thanks for your comments Joe, I have resubmitted with the comments addressed Regards, Srini

[PATCH] [PATCH] [v3] wireless: Initial driver submission for pureLiFi STA devices

2020-10-14 Thread Srinivasan Raju
, x86 architectures and compiled in powerpc architecture Signed-off-by: Srinivasan Raju --- MAINTAINERS|5 + drivers/net/wireless/Kconfig |1 + drivers/net/wireless/Makefile |1 + drivers/net/wireless/purelifi/Kconfig | 27 + drivers

Re: [PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

2020-09-29 Thread Srinivasan Raju
> I stopped here. > > Thanks Thanks for your comments Leon, I will resubmit after the changes Thanks Srini

Re: [PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

2020-09-28 Thread Srinivasan Raju
> Didn't look at the rest Thanks for your comments Joe, I will refactor the code for clarity, remove redundancy and address your comments. Regards Srini

Re: [PATCH] staging: Initial driver submission for pureLiFi devices

2020-09-28 Thread Srinivasan Raju
> It would be more common just to check for CONFIG_PURELIFI_AP in the source > file(s) instead of adding a synonym for it. Thanks for your comments Randy, Addressed your comments and resubmitted in /net/wireless Thanks Srini

Re: [PATCH] staging: Initial driver submission for pureLiFi devices

2020-09-28 Thread Srinivasan Raju
> Anyway, those are some ideas. Thanks for your comments Dan, Addressed your comments and resubmitted in /net/wireless Thanks Srini

Re: [PATCH] staging: Initial driver submission for pureLiFi devices

2020-09-28 Thread Srinivasan Raju
> There's nothing in the "how to submit a driver/patch" documentation that > mentions that it has to go through staging first, does it? If so, that > needs to be changed... Thanks for the feedback Greg, Addressed your comments and resubmitted in /net/wireless Regards Srini

[PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

2020-09-28 Thread Srinivasan Raju
and uses native 802.11 for configuration and management The driver is compiled and tested in ARM, x86 architectures and compiled in powerpc architecture Signed-off-by: Srinivasan Raju --- MAINTAINERS |5 + drivers/net/wireless/Kconfig |1

Re: [PATCH] staging: Initial driver submission for pureLiFi devices

2020-09-24 Thread Srinivasan Raju
>> --- /dev/null >> +++ b/drivers/staging/purelifi/TODO >> @@ -0,0 +1,5 @@ >> +TODO: >> + - checkpatch.pl cleanups >> + >> +Please send any patches or complaints about this driver to pureLiFi Ltd >> + >Why not just do these fixups on your own right now and submit it to the >"real" part of

[PATCH] staging: Initial driver submission for pureLiFi devices

2020-09-24 Thread Srinivasan Raju
softMAC Architecture and uses native 802.11 for configuration and management The driver is compiled and tested in ARM, x86 architectures and compiled in powerpc architecture Signed-off-by: Srinivasan Raju --- MAINTAINERS |5 + drivers/staging/Kconfig