Loading...

android-platform@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: Android ICS wpa_supplicant_8 libnl80211 hedwin Sat Feb 25 03:00:45 2012

@manish, you mean the crash in the wpa driver used in 2.2?

On Sat, Feb 25, 2012 at 2:41 AM, Manish Shakya <[EMAIL PROTECTED]>wrote:

> Hi Hedwin,
>
> Did you solve crashing problem in your wpa_driver?
>
> On Fri, Feb 24, 2012 at 6:38 PM, hedwin <[EMAIL PROTECTED]> wrote:
> > You would need the netlink library (libnl) to use this. This library is
> not
> > provided by AOSP. So you would need to add it yourself.
> > What I did was create a customized wext driver for the marvel chip I use
> > (Marvell 86w8686). Which connects to the kernel's nl80211 layer.
> >
> > If you want to take a look at the driver you can find it here:
> >
> https://www.gitorious.org/~hedwin/rowboat/igepv2-gingerbread-vendor-ti-igepv2/trees/igepv2-gingerbread-a/wpa_driver
> > Maybe it helps solve your problem.
> >
> > Hedwin
> >
> >
> >
> > On Thu, Feb 23, 2012 at 6:52 PM, hardik patel <[EMAIL PROTECTED]>
> wrote:
> >>
> >> Hi Tommy,
> >>
> >> Yes, wpa_supplicant_8 have support of nl80211 driver support. To
> >> compile wpa_supplicant which use nl80211 interface then we have enable
> >> "CONFIG_DRIVER_NL80211=y" flag in  .config file. then compile
> >> supplicant. Regarding  wpa_driver_nl80211_driver_cmd  function in
> >> nl80211 file this is callback function which is register with nl80211
> >> ops struct. this function is use to implement private ioctl command.
> >>
> >> Say example like for P2P Power save there is no standard nl80211
> >> command available. So to send this type of command to driver we can
> >> use this wpa_driver_nl80211_driver_cmd function which will send
> >> command for power save using ioctl to driver. So each vendor have to
> >> provide there own function how they want to send ioctl command. So in
> >> case of broadcom  they have driver_brcm_nl80211_command.c file into
> >> /hardware/broadcom/wifi/ directory. but this is not necessary we can
> >> make new file and copy in wpa_supplicant-8/src/driver/ directory. we
> >> have add line to compile that file into ./src/driver/drivers.mk file
> >> to compile.
> >>
> >> #ifdef ANDROID
> >>       .driver_cmd = wpa_driver_nl80211_driver_cmd,
> >> #endif /* ANDROID */
> >>
> >>
> >> you can refer below link where u  can see how this function are written
> >> ...
> >>
> >>
> >>
> http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blob;f=src/drivers/driver_nl80211.c;h=6c517f961bd8fc929842b741249b9469cb8033a1;hb=refs/heads/android
> >>
> >> I will suggest use supplicant from
> >> "http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=summary"
> >> link which have latest supplicant for p2p. you can download code from
> >> android or master branch ...
> >>
> >> Thanks,
> >> Hardik
> >>
> >> On Thu, Feb 23, 2012 at 6:46 AM, tommy.hong <[EMAIL PROTECTED]>
> wrote:
> >> > Hi,I want to know that wpa_supplicant_8 ,have nls80211 driver
> support,is
> >> > that seems
> >> > wpa_driver_nl80211_driver_cmd need to implemented in hardware/wifi
> >> > interface?
> >> > I saw hardware/broadcom bcmhd have implemented.
> >> >
> >> > B.R
> >> > Tommy
> >> >
> >> > 在 2012年2月23日 上午12:01,Anup Kulkarni <[EMAIL PROTECTED]>写道:
> >> >>
> >> >> Hi
> >> >>
> >> >> Can you describe your problem in detail... Are you working on any
> >> >> marvell
> >> >> chipset?
> >> >>
> >> >> Thanks
> >> >>
> >> >> On Tue, Feb 21, 2012 at 3:24 PM, tommy.hong <[EMAIL PROTECTED]>
> >> >> wrote:
> >> >>>
> >> >>> hi.list,I am using android ics wpa_supplicant8 to debug linux3.0
> wifi
> >> >>> driver sd8787,driver support lib80211,i make android
> >> >>> wpa_supplicant_8,seems
> >> >>> short of wpa_driver_nl80211_driver_cmd implementation.
> >> >>>
> >> >>>
> >> >>> B.R
> >> >>> Tommy
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Chinese Name:Hong jiu jin
> >> >>> Android,Internet of Things,Embedded System Design and Develop
> >> >>> English Name:Tommy
> >> >>> Tel: +86 1367514 8249
> >> >>> Skype ID:hongjiujing
> >> >>> Gtalk ID:: [EMAIL PROTECTED]
> >> >>> Blog: http://internetofthings.blogbus.com/
> >> >>> Country:China
> >> >>> There are three types of people in this world: those who make things
> >> >>> happen, those who watch things happen and those who wonder what
> >> >>> happened.
> >> >>>
> >> >>> --
> >> >>> You received this message because you are subscribed to the Google
> >> >>> Groups
> >> >>> "android-platform" group.
> >> >>> To post to this group, send email to
> >> >>> [EMAIL PROTECTED]
> >> >>> To unsubscribe from this group, send email to
> >> >>> [EMAIL PROTECTED]
> >> >>> For more options, visit this group at
> >> >>> http://groups.google.com/group/android-platform?hl=en.
> >> >>
> >> >>
> >> >> --
> >> >> You received this message because you are subscribed to the Google
> >> >> Groups
> >> >> "android-platform" group.
> >> >> To post to this group, send email to
> [EMAIL PROTECTED]
> >> >> To unsubscribe from this group, send email to
> >> >> [EMAIL PROTECTED]
> >> >> For more options, visit this group at
> >> >> http://groups.google.com/group/android-platform?hl=en.
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Chinese Name:Hong jiu jin
> >> > Android,Internet of Things,Embedded System Design and Develop
> >> > English Name:Tommy
> >> > Tel: +86 1367514 8249
> >> > Skype ID:hongjiujing
> >> > Gtalk ID:: [EMAIL PROTECTED]
> >> > Blog: http://internetofthings.blogbus.com/
> >> > Country:China
> >> > There are three types of people in this world: those who make things
> >> > happen,
> >> > those who watch things happen and those who wonder what happened.
> >> >
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups
> >> > "android-platform" group.
> >> > To post to this group, send email to
> [EMAIL PROTECTED]
> >> > To unsubscribe from this group, send email to
> >> > [EMAIL PROTECTED]
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/android-platform?hl=en.
> >>
> >>
> >>
> >> --
> >> Regards,
> >> Hardik
> >>
> >> "If you are doing what you have always been doing then expect what you
> >> have always been getting."
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "android-platform" group.
> >> To post to this group, send email to [EMAIL PROTECTED]
> >> To unsubscribe from this group, send email to
> >> [EMAIL PROTECTED]
> >> For more options, visit this group at
> >> http://groups.google.com/group/android-platform?hl=en.
> >>
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "android-platform" group.
> > To post to this group, send email to [EMAIL PROTECTED]
> > To unsubscribe from this group, send email to
> > [EMAIL PROTECTED]
> > For more options, visit this group at
> > http://groups.google.com/group/android-platform?hl=en.
>
>
>
> --
> Manish Shakya
> http://www.manishshakya.com.np
>
> --
> You received this message because you are subscribed to the Google Groups
> "android-platform" group.
> To post to this group, send email to [EMAIL PROTECTED]
> To unsubscribe from this group, send email to
> [EMAIL PROTECTED]
> For more options, visit this group at
> http://groups.google.com/group/android-platform?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"android-platform" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/android-platform?hl=en.