Wi-Fi packet capturing on M1 Macs is broken
intuitibits.com
intuitibits.com
Apple Watch nowadays is using Apple (codenamed Marconi) Wi-Fi + BT chips, hopefully they'll switch all their product lineup to those.
Wi-Fi/BT is handled separately by Apple-designed chips for the newer ones.
I assumed Apple bought the Intel product line for IP, especially after that episode.
overall, I was very happy to get a phone that didn't use the intel chips.
Apple ditched Intel due to Intel being at least a year behind on 5G.
These modems were all LTE modems though. They've always used separate Broadcom chips for WiFi/Bluetooth.
That's not the only thing Intel is at least a year behind on.
Yeah. The Qualcomm-equipped international version of the iPhone X notoriously got significantly better LTE speeds compared to the Intel-modem version sold in UK/Europe.
I was under the impression that modern laptops ship with intel WiFi cards (I think I saw some Lenovo laptop use it). Do you mean it killed their modems ?
https://www.macrumors.com/2012/12/03/apple-hiring-former-tex...
https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
OpenBSD has also added support to their bwfm(4) driver already for 6.9.
Wireless is absolutely not the hardest problem for the M1 Mac, or running on any Mac, for that matter.
I need the bcmwl driver (dkms) for some 4-5 year old HP laptop and it has severe problems with some APs and slight problems with others. Overall it's just bad.
Debugging it showed that it's only a thin Linux wrapper around some huge binary blob they use. So not really FOSS, but of course that's what we are used to with firmware. This was't really firmware, they use the blob on the CPU IIRC. (It's been years I debugged this, since then Broadcom is just something that raises a red flag to me.)
It mostly comes down to drivers from what I understand but I'm not entirely familiar with all the objections.
Admittedly it's been a while since I had a broadcom controller, but I had all sorts of problems with it. Random disconnects etc.
In my experience, Intel has higher performance and more features (which might be a downside from the point of complexity and configuration) at a higher cost, while Realtek is slower, but cheap, simple and reliable.
I always thought that it was funny that their NICs are much to be desired yet their ASICs power a wide variety of enterprise network switches capable of moving terabits of traffic at low latency.
So yeah, Broadcom is a rollup of two dozen different companies so the quality of one product tells you nothing about others.
Don't take this as an endorsement of Broadcom or anything.
Shitty firmware and garbage reference drivers sounds like endorsement enough.
The only reason why Realtek dominates is because they are the cheaper alternative. The only reason why Intel dominate WiFI on PC is because they are bundled as part of their CPU sales for Laptop.
Most of the half decent WiFI AP still uses Broadcom. Although increasingly Qualcomm is making inroad. So Boradcom is stuck in the middle of no where in consumer market. They dont have WiFi in PC Laptops, nor do they have WiFi in Android Smartphone. Apple being the largest Broadcom customer for their consumer grade WiFI. And that is why every 2-3 years you may have read Broadcom's intentional leaks about they want to sell their WiFi chipset division because they dont want to play balls with Apple's WiFi asking price.
Broadcom bluetooth/wifi chips ran out of firmware hot patch ram slots long time ago. Company seems to be too cheap to respin the rom mask with all the fixes baked in. From what I remember even brand new iphone x ships with no room for BT firmware patching.
RECON 2019 - Reversing and Exploiting Broadcom Bluetooth (Jiska Classen, Dennis Mantz) https://www.youtube.com/watch?v=96Mi8_9ABCc
35C3 - Dissecting Broadcom Bluetooth (Jiska Classen, Dennis Mantz) https://www.youtube.com/watch?v=4_nI9ok7iQg
Then again, Petit Riens is my favorite danes of Pesaro's... I call it mosh pit riens given how rowdy it can be!
Fabric Cheeto? Febreze Cheeto?
BTW Allegrezza d'Amore is also in Santucci. Happy to send you a translation.
My email is https://pastebin.com/nRRad00N
A patent has to disclose the invention in order to be valid. An invention, however, can comprise a new and non-obvious combination of pre-existing components. Most inventions, in fact, comprise new and non-obvious arrangements of familiar components, some of which may be patented by others. If a component is patented by another, that just means the inventor won’t be able to actually build his invention without buying or licensing the component from the other inventor. I’m not familiar with the Marconi case, but that may be the situation.
He turned to me to check that my guy was indeed named for the inventor of radio. Yep, that’s how he got his name. I wanted him to have a name with dignity.
Another Apple internal project was dubbed Sagan or Carl Sagan. It was later changed to BHA.[0] The story behind it is amusing. [1]
[0] https://en.m.wikipedia.org/wiki/Power_Macintosh_7100 [1] https://www.engadget.com/2014-02-26-when-carl-sagan-sued-app...
Apple has renewed their WiFI commitment to Broadcom for at least another 3 years. Marking WiFI, or in fact any Wireless Controller is hard, making it that is also a moving target ( Both WiFi 6E/ WiFi 7 and 5G / 3GPP Rel 17 ) is even harder.
But if Apple do intend to make their own WiFi ( Which makes perfect sense from an BOM cost reduction perspective ), please also bring back AirPort Wireless Router.
A web search brings me back to this thread.
I've also seen this on a 2020 Intel MacBook Air. I assumed it was a Big Sur issue but had never tried it on Catalina.
Sniffing from the command line did pick up the correct channel: https://unix.stackexchange.com/a/49317/36875
Could this be related to the phenomenon the authors are describing?
For this reason I prefer the dongles. Want to use your mouse on a different Mac? Just plug the dongle in a different computer.
I don't know how often I ended up at the password prompt with no way to type the password because the keyboard didn't connect, or was connected to a different Mac, and I had no idea how to get it to connect to the Mac I was trying to start.
It works great and it's the best of both worlds. Convenient and no dongles (Bluetooth on my MacBook was very reliable for a mouse).
Bluetooth is also affected by the interference. The advantage of a dongle is that you can use an extension cable and move the transmitter away from whatever is causing the interference.
Not applicable to your dongle issue, but for others: One weird trick that works without fail for me is disabling WiFi, connecting your Bluetooth devices, and reenabling WiFi. Don’t know why it works.
The Wi-Fi chipset in the computer is not used at all here. The dongle presents itself to the computer as a USB human input device, just like any other USB keyboard or mouse.
This is why you can use a keyboard like this to access the BIOS settings at boot time on a PC, which you can't do with a Bluetooth keyboard.
That said, the wireless connection between the dongle and the keyboard is subject to interference by other 2.4GHz devices.
So one thing to make sure of is to connect to a 5GHz Wi-Fi network, not 2.4GHz. And as you mentioned, Bluetooth can also interfere.
I had an interesting case of this some time ago. I was using a ThinkPad TrackPoint Wireless Keyboard II with a desktop computer on the floor several feet away. This keyboard can either use Bluetooth or its own USB dongle; I used the latter so I could access BIOS settings.
It worked great - except when I used my Bluetooth Apple AirPods with a phone (either iPhone or Android). Then the keyboard would start missing characters or repeating them wildly.
The solution was to use a USB extension cable to put the keyboard dongle on my desk near the keyboard itself. That improved the signal between the two and eliminated the Bluetooth interference.
Snow Leopard = Awesome
Lion = meh
Yosemite = ok
Sierra = good
High Sierra = Awesome
Mojave = meh
Catalina = meh
Big Sur = meh
(snow leopard and high sierra were the best IMO)
Mac Admin for 15 years
I could never see Apple coming up with the original Time Machine design anymore.
I however think this is a personnal opinoin, and I won't argue that Linux is better that macOS. If I has been a macOS user from the start I would have maybe been equally unhappy to be forced to use Linux.
What i'm trying to say is, we are all different people with different tastes and priorities, and I don't think we can objectivly say that one OS is better (or "sucks the least").
I do however agree that it's 100% totally opinion based on ones preferred OS.
It's always just been a VM on Mac, hence the constant performance issues it faces.
And I agree that you skipped Mavericks (10.9), it was one of the best releases. I used it for like 3 years but had to update to whatever was current at the end of 2016 because I got a new job and needed the latest Xcode for it.
My major gripes are swallen batteries (2 times in 20 years), and the crappy 2015-2019 keyboards (plus, whoever idiot designed the usb-at-the-bottom mouse).
But as far as the OS is concerned there are some bugs I see here and there, but I don't see the big fuss. I don't have peripherals disconeccting at random, crashes, data loss, and so on.
I've had way worse bugs and issues on Linux and Linux software over the years (which I also use since 1997), and even used as my main pro desktop for years (1999-2003, Debian) in far more optimistic times.
One key differentiator might be that I don't install any kind of crap (I have a no-haxies policy for example, and spare for Little Snitch, I avoided kexts too. A vendor has some special e.g. keyboard driver? Fuck it, I'll use one keyboard with class compliant drivers), but I do install a lot of apps still.
Another might be that I usually re-install fresh every 2 years or so (I like to get rid of accumulated junk, including personal documents and downloaded files, and install what I really need to use at the current, sort of like spring-cleaning).
The batteries last so long in those mice, plus you can get an almost full day's charge in about two minutes. It takes a real idiot to run into issues with it. :)
On top of the batteries starting dying much faster later on (the "last so long" thing is only true on the first 1-2 years), the warning is shown and dismissed far too easily, and far too late - and then they just die.
One of the engineers who worked on it worked out a deal with Broadcom to simply reuse the design and market it toward education instead
Does something like this exist?
They are extremely unstable, and if you want any kind of moderately reliable deployment of an RPi, you need to use a watchdog timer to reset the device if it freezes. Except - guess what - the watchdog timer itself is broken on the RPi! (As of the last time I tried this, iirc with an RPi 4) Either it's busted in hardware or the driver is broken. Most semi-high-reliability devices built using RPis have elected to use external watchdogs, which is super annoying and would not be necessary on a correctly designed SoC.
Their clocking and boot schemes are also totally insane garbage, with random peripherals breaking if you change the GPU clock, and with the GPU silicon running the bootloader or something ridiculous like that.
I would prefer almost any other ARM SoC to the BCM used in the RPi.
/s
I think people tend to forget things like that, and only remember the later releases of an OS since that is the version they are likely switching off of it to the newer one.
I personally have found big sir no more buggy than most releases. Better than some[1], worse than others. About middling. Not bad for it including new hardware (m1)!
[1]: ye gods, remember how bad 10.10 was with discoveryd before they rolled back to mdnsresponder! yikes!
So much hyperbole in this thread. A solid subset of users declares that the sky is falling and this is the end for Apple. Rinse and repeat with each iteration. I am not saying there haven’t been missteps, but it ain’t all bad. My personal experience with Big Sur has largely been a non event and I have tons of boutique usb synthesizers audio interfaces and software. I use windows Mac and dabble in a few Linux distros. None are perfect but they’re all pretty good.
The fact there hasn't been native loopback for so long is mind-boggling. I'm a Mac user and use BlackHole.
I've lost count of the number of times I've been on a call and someone with a Mac has gone to share screen and been confused as to why their audio isn't being shared. COVID/WFH has made this a regular occurrence.
Handy when you need it, not exactly a metric for OS quality to offer one.
How is that relevant to a discussion about worsening software quality? OS X never had native loopback.
Additionally, the comment was in response to a comment about audio interfaces, so it's relevant on multiple accounts.
I dont hear any detailed descriptions of how the software quality has declined. What I generally see is bugs being reported which is then called evidence that apple software is bad. I think the UMN story has shown that all OS software is large, complex and bug ridden.
I personally dont love how OSX is becoming more of a walled garden, but I also think that given the fact that bad people exist to make sure we cant have anything nice its a reasonable reaction to try and make the OS more secure. The days of the OS is your playground are ending. I wish that werent true but there are crappy folks out there that want to steal your data, identity, scam you, commit computer crimes against you.
I will reiterate that I think Big Sur was probably the smoothest big release of MacOS Ive been through(since Tiger). Others may have different experiences, but I can only speak to mine.
It seems to me macOS quality has been fine for years.
And I've used it since 10.2.
That said, the M1 changes things, IME. It's just sad it takes that much.
Tiger through Lion had a 2-year release cycle. Ever since Mountain Lion, it's been a 1-year cycle. Further complicating this is that these have included unintuitively "ambitious" (or at least "labor intensive") changes. Big Sur was a UI redesign that touched the entire system. But let's not forget that Mojave was also a huge undertaking to get everything working with Dark Mode (both for Apple developers and third party developers). Meanwhile entire suites of apps get thrown out and the rewrites are used to dogfood Catalyst. It's just infinite churn. The core of the technology has taken on the properties of fashion. And that is just not a great recipe for stability.
I've personally chosen to try to approximate the missing "tock" cycle by upgrading to every other macOS. Clearly this is nowhere near the same benefit of Apple actually dedicating a full year and a half to a release, but at least I don't have to go through the (largely arbitrary) UI changes every year or so, and I have the "bugs I know" to deal with vs. the ones I don't yet know about.
At this point all I do with my Mac is work. I would much rather it be rock solid and reliable than be crammed with new features and change for the sake of change every year. Most of the features that get added for iOS parity/compatibility could probably be delivered in point updates anyway.
Maybe Linux on Apple Silicon will be the best of both worlds in a few years --- I think the dedicated porting effort will more than succeed and will get something more polished than Linux on Intel macs ever was.
For the reasons you say, I personally would rather buy e.g. some pine64 thing just might benefit from this porting work. (Probably more in the userland than kernel itself, tbh.)
The one good path I see for hardware is that in the system on chip era, open designs can gain a foothold by saving the companies money, just as no one could compete with free linux for server software 2 decades prior. There was no hope getting a foothold with 1 design = 1 chip, but a world where people can mooch some free IP for their dohicky might do the trick.
No DKMS, ever. All our drivers are headed to mainline. I'm not even going to bother with DKMS most likely; people who want to use bleeding edge drivers before they're merged can use our kernel trees (and we'll have builds available for those folks).
Still nowhere near.
Perfect for coding though.
I don't have to debug OS wide breakages or weird Wifi/BT issues or unstable GUIs and it's running Linux, not BSD on a weird kernel and file system with... interesting permissions and security settings.
And I can play games and use Docker at native speed.
YMMV.
Desktop Linux is the only bearable desktop UX. Anyone who actually prefers the UX of desktop Windows is mentally deranged and should not be allowed to make user facing software.
Think a bit about what you say.
Windows support is kinda funny, it works fairly well normally but has all kinds of strange bugs. For example, if you switch in/out of full screen windows will just randomly move between displays. There are quite a few inconsistent scaling bugs.
I haven't played with xrandr multidpi, although I hear a lot of complaints about it. I've tried wayland, but I wasn't keen. I was very frustrated with sway (twm), which advertises itself as a drop in replacement for i3, but does many things differently. The fractional scaling on wayland can be blurry. There are still loads of bugs.
Surely you mean Apple's customers went through all sorts of weird pains.
Owners will casually dismiss anything negative. Post purchase Rationalization on heavily marketed products is bad for consumers.