The Miami Dolphins are about to strengthen their defensive line. The club is closing in on a two-year deal with former Buffalo Bills defensive end Mario Williams, FOX Sports NFL Insider Mike Garafolo reported Tuesday.

It'll be a two-year deal for Mario Williams with the Dolphins. Not done yet but it will be.

— Mike Garafolo (@MikeGarafolo) March 8, 2016

The deal will be worth $17 million with a maximum value of $20 million, according to Garafolo.

More from FoxSports

Williams has spent the past four seasons with the Bills after spending his first six years in the league with the Houston Texans. He had double-digit sack totals in his first three seasons with the Bills but finished with only five last season in 15 games.

The Dolphins defensive line could be hellacious next season, pairing Williams with Ndamukong Suh, who restructured his $114 million deal Saturday to give the club more financial flexibility.